JavaScript

String Methods

Definition

Built-in methods on the String prototype for searching, transforming, and extracting parts of strings. Common methods include `includes`, `startsWith`, `endsWith`, `slice`, `split`, `trim`, `replace`, and `toLowerCase`.

Code Example

Javascript
Tip: Modify the code above and click “Run” to see the results

Learn More

Related Terms