Summary
Determines if string starts with another string.
Description
Determines whether a string begins with the characters of a specified string, returning true or false
Route
No Northbound API Available
Roles
Parameters
DetailsExampleSchema
Name | Type | Required | Description |
---|---|---|---|
str | string | yes | The string to be searched |
searchString | string | yes | The characters to be searched for at the start of str |
position | number | no | The position in this string at which to begin searching for searchString |
Return
DetailsExampleSchema
Name | Type | Description |
---|---|---|
result | boolean | True if the given characters are found at the beginning of the string; false otherwise |