startsWith
Check if the string starts with a given string.
g.startsWith('Hello', 'Hell');
Parameters
s: The input string.value: The substring to look for.
See Also
- endsWith: Check if the string ends with a given string.
Check if the string starts with a given string.
g.startsWith('Hello', 'Hell');
s: The input string.value: The substring to look for.