UnicodeUntranslatablePosition (Unicode function): Difference between revisions
Jump to navigation
Jump to search
m (syntax terms, tags and links) |
mNo edit summary |
||
Line 15: | Line 15: | ||
==Usage Notes== | ==Usage Notes== | ||
<ul><li><var>UnicodeUntranslatablePosition</var> is available as of <var class="product">[[Sirius Mods | <ul><li><var>UnicodeUntranslatablePosition</var> is available as of <var class="product">[[Sirius Mods]]</var> Version 7.3.</ul> | ||
==Examples== | ==Examples== | ||
The following fragment shows a successful call of <var>UnicodeUntranslatablePosition</var>. | |||
<p class="code">%u unicode initial('A&#x80;B':[[U (String function)|U]]) | <p class="code">%u unicode initial('A&#x80;B':[[U (String function)|U]]) | ||
print %u:UnicodeUntranslatablePosition | print %u:UnicodeUntranslatablePosition | ||
Line 24: | Line 24: | ||
The result is: | The result is: | ||
<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 21:33, 1 March 2011
Position of first Unicode character not translatable to EBCDIC (Unicode class)
UnicodeUntranslatablePosition finds the character position of the first character in the input Unicode string that is not translatable to EBCDIC.
Syntax
%number = unicode:UnicodeUntranslatablePosition
Syntax terms
%number | A numeric variable to receive either of the following:
|
---|---|
unicode | A Unicode string. |
Usage Notes
- UnicodeUntranslatablePosition is available as of Sirius Mods Version 7.3.
Examples
The following fragment shows a successful call of UnicodeUntranslatablePosition.
%u unicode initial('A€B':U) print %u:UnicodeUntranslatablePosition
The result is:
2