String :: match - Check whether the string match the mask
The function checks whether or not the string match the mask passed in sMask. The mask may contain place holders (*) for parts that may contain any text.
string.match("abc"); // string must be equal to "abc"
string.match("abc*"); // string must start with "abc"
string.match("*abc"); // string must end with "abc"
string.match("*abc*); // string must contain "abc"
string.match("*abc*XYZ*"); // string must contain "abc" and "XYZ"
Return value: Success ( bool )
The value is true when the function was executed successfully. Otherwise the value is set to false.
Implementation details
bool
String  :: match ( odaba::String &cMask, bool bCaseSensitive )
Check is performed case sensitive, when true has been passed in bCaseSensitive. Otherwise, case insensitive check is performed.
- cMask - - Title unknown
- bCaseSensitive
- Case sensitive option
The option indicates case sensitive data in text (true)