Lua
C++
Edit

StartsWith

This method compares the beginning of two strings.

Syntax

boolean StartsWith(string beginning)

Parameter Description
beginning a string to compare

Returns

This function returns true if the left-most characters of this string match the beginning string.

This function returns false if the strings do not match, or if this string is shorter than the beginning string.

Copyright © 2024 Ultra Software.
All rights reserved.