Skip to main content

StringEndsQ

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

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

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

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

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