Skip to main content

StringStartsQ

StringStartsQ["string",patt] yields True if the beginning of "string" matches the string expression patt, and yields False otherwise.

StringStartsQ["string",{patt1,patt2,…}] yields True if the beginning of "string" matches any of the patti.

StringStartsQ[{string1,string2,…},patt] gives a list of the results for each of the "stringi".

StringStartsQ[patt] represents an operator form of StringStartsQ that can be applied to an expression.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.