Skip to content

strMatch

Ben edited this page Aug 16, 2022 · 1 revision

A secure way to check if a string matches a pattern

TRP3_API.util.str.match(stringToCheck, pattern)

Arguments

  • stringToCheck: Input string
  • pattern: Pattern to compare string against

Returns

Returns false if error, else will return an integer

Clone this wiki locally