substringAfter
Returns the substring after the first occurrence of the character sequence chars in str.
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
substringAfter("hello world", " ") // "world"