Class StringsAbstract
Methods
Staticescape
-
Escape a given input string prefacing special characters with backslashes for use in a regular expression.
Parameters
- str: string
An un-escaped input string.
Returns string
The escaped string suitable for use in a regular expression.
- str: string
Staticnormalize
-
Normalizes a string.
Parameters
- str: string
A string to normalize for comparisons.
Returns string
Cleaned string.
- str: string
Provides utility functions for strings.
This class should not be constructed as it only contains static methods.