Strings

`String text ${expression}`

" is the same as '

  • .slice(start, end not included)

  • .split(" ")

  • .trim() //remove whitespace

  • .includes("seq") - true if "seq" in string

  • .search("W3Schools"); - returns index of first character or -1

  • .toLowerCase()

  • .toUpperCase()

  • .join([seperatar ,])

Last updated