This method compares the beginning of two strings.
bool StartsWith(const String& beginning)
Parameter | Description |
---|---|
beginning | string to compare |
If the left-most characters of this string match the beginning string then true is returned.
If the strings do not match, or if this string is shorter than the beginning string, then false is returned.