strHasPrefix
fn
bool strHasPrefix(string str, string prefix)Looks whether the string str begins with prefix.
Parameters
str | a string to look in |
prefix | the prefix to look for |
Returns
true if str begins with prefix, false otherwise