This method compares the beginning of two strings.
boolean StartsWith(string beginning)
Parameter | Description |
---|---|
beginning | a string to compare |
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.