UnicodeWith (Unicode function): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 25: | Line 25: | ||
The following is a simple <var>UnicodeWith</var> call: | The following is a simple <var>UnicodeWith</var> call: | ||
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">Begin | ||
%u is unicode Initial('This is an at sign: ') | |||
Print %u:unicodeWith('&#x40;':U) | |||
End | |||
</p> | |||
</ | |||
The result is: | The result is: | ||
< | <p class="output">This is an at sign: @ | ||
</p> | |||
</ |
Revision as of 15:53, 20 January 2011
Concatenate this Unicode string with another (Unicode class)
This function returns the Unicode string that is the concatenation of the method object Unicode string and its Unicode string argument.
The UnicodeWith function is available as of version 7.6 of the Sirius Mods.
Syntax
%outUnicode = unicode:UnicodeWith( unicode2)
Syntax terms
%outUni | A Unicode variable to receive the result of the UnicodeWith method. |
---|---|
unicode | A Unicode string. |
unistring | A Unicode string. |
Example
The following is a simple UnicodeWith call: The U constant function is used in the example.
Begin %u is unicode Initial('This is an at sign: ') Print %u:unicodeWith('@':U) End
The result is:
This is an at sign: @