[String->CharType] returns the Unicode type of a specified character. The character within the base string to be inspected is specified starting from 1 for the first character in the string.
[Output: 'The quick brown fox...'->(CharType: 5)]
<?LassoScript
Variable: 'myString' = 'The quick brown fox...';
Variable: 'Result' = $myString->(CharType: 10);
?gt;
Use the [String->CharType] tag. The following example returns the Unicode type of the fourth character of a string.
[Output: '2001'->(CharType: 4)]
DECIMAL_DIGIT_NUMBER
Tag Link | [String->CharType] | Category | String |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 7.0 |
Output Type | String | Security | None |
Implementation | Sets | Lasso 7.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft