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
Template Literal
Strings delimited by backticks that allow embedded expressions via ${expression} syntax. Template literals support multi-line strings and tagged templates for custom string processing.
Array MethodsBuilt-in methods on the Array prototype for transforming and querying arrays. Key methods include map (transform each element), filter (select elements), reduce (accumulate), find (first match), some/every (boolean tests), and sort.