substringAfter
Returns the substring after the first occurrence of the character sequence chars in str.
Type: transform
Parameters
- input (unknown): The input string.
- chars (unknown): The character sequence to search for.
Returns
Type: string
The substring after the first occurrence of the character sequence chars in str.
Examples
javascript
substringAfter("hello world", " ") // "world"