UnicodeUntranslatablePosition (Unicode function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (→Examples) |
||
Line 21: | Line 21: | ||
The following fragment shows a successful call of <var>UnicodeUntranslatablePosition</var>. | The following fragment shows a successful call of <var>UnicodeUntranslatablePosition</var>. | ||
The [[U (String function)|U constant function]] is used in the example. | The [[U (String function)|U constant function]] is used in the example. | ||
<p class="code">%u | <p class="code">%u Unicode Initial('A&#x80;B':U) | ||
Print %u: | Print %u:UnicodeUntranslatablePosition | ||
</p> | </p> | ||
Line 28: | Line 28: | ||
<p class="output">2 | <p class="output">2 | ||
</p> | </p> | ||
==See also== | ==See also== | ||
{{Template:Unicode:UnicodeUntranslatablePosition footer}} | {{Template:Unicode:UnicodeUntranslatablePosition footer}} |
Revision as of 22:21, 6 February 2011
Position of first Unicode character not translatable to EBCDIC (Unicode class)
This function finds the character position of the first character
in the input Unicode string that is not translatable to EBCDIC.
The UnicodeUntranslatablePosition function is available as of version 7.3 of the Sirius Mods.
Syntax
%number = unicode:UnicodeUntranslatablePosition
Syntax terms
%position | A numeric variable to receive either of the following:
|
---|---|
unicode | A Unicode string. |
Examples
The following fragment shows a successful call of UnicodeUntranslatablePosition. The U constant function is used in the example.
%u Unicode Initial('A€B':U) Print %u:UnicodeUntranslatablePosition
The result is:
2