UnicodeWith (Unicode function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 21: Line 21:
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
<p class="code">Begin
<p class="code">%u is unicode Initial('This is an at sign: ')
%u is unicode Initial('This is an at sign: ')
Print %u:unicodeWith('&amp;#x40;':U)
Print %u:unicodeWith('&amp;#x40;':U)
</p>
End
End
</p>
</p>

Revision as of 15:48, 7 February 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('&#x40;':U) End

The result is:

This is an at sign: @

See also