app-string

On this page:

startsWith

Summary

Finds whether or not a string starts with another string.

Description

Determines whether a string begins with the characters of a specified string, returning true or false

Route

POST /string/startsWith

Roles

admin

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