> For the complete documentation index, see [llms.txt](https://openai.gitbook.io/code-cheatsheets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openai.gitbook.io/code-cheatsheets/js/collections/string.md).

# Strings

```javascript
`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 ,])`
