Difference between revisions of "Extensions.StringUtil.MatchToRegularExpression"
Jump to navigation
Jump to search
(Created page with "Category:StringUtil == Classification == {{ClassificationActivity | MatchToRegularExpression | Uses of regular expressions | Operations | StringUtil|OTX StringUtil e...") |
|||
Line 1: | Line 1: | ||
[[Category:StringUtil]] | [[Category:StringUtil]] | ||
== Classification == | == Classification == | ||
− | {{ClassificationActivity | MatchToRegularExpression | Uses of regular expressions | [[ | + | {{ClassificationActivity | MatchToRegularExpression | Uses of regular expressions | [[Term]] | [[StringUtil|OTX StringUtil extension]] | [[StringUtil related terms]] | [[OutOfBoundsException]] | - }} |
== Pseudo-Code Syntax == | == Pseudo-Code Syntax == |
Revision as of 04:04, 8 August 2014
Contents
Classification
Name | MatchToRegularExpression |
Short Description | Uses of regular expressions |
Class | Term |
Extension | OTX StringUtil extension |
Group | StringUtil related terms |
Exceptions | OutOfBoundsException |
Checker Rules | - |
Standard Compliant | Yes |
Pseudo-Code Syntax
String MatchToRegularExpression(String string, String regexp);
Description
The MatchToRegularExpression term returns TRUE if the used regular expression also returns TRUE on the string .
Return Value
The Term returns the value, see table below.
![]()
In OTX, Terms are categorized according to its return data type!
Data Type | Description |
Boolean | Result of the regular expression that is applied to the string |
Properties
Name | Data Type | Class | Default | Cardinality | Description |
String | String | Term | - | [1] | The string is analysed |
RegExp | String | Term | - | [1] | The regular expression specified string will be carried out on the |
Examples
Boolean result = MatchToRegularExpression("emotive", "[a-z]*");
//Returns result = true
See also
ReplaceSubString
StringConcatenate
SubString
LengthOfString
IndexOf
SplitString
ToUpper
ToLower
Encode
Decode