UnicodeWith (Unicode function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 13: Line 13:
{{Template:Unicode:UnicodeWith syntax}}
{{Template:Unicode:UnicodeWith syntax}}
===Syntax terms===
===Syntax terms===
<dl>
<table class="syntaxTable">
<dt><i>%outUni</i>
<tr><th><i>%outUni</i> </th>
<dd>A Unicode variable to receive the result of the UnicodeWith method.
<td>A Unicode variable to receive the result of the UnicodeWith method. </td></tr>
<dt><i>unicode</i>
<tr><th><i>unicode</i> </th>
<dd>A Unicode string.
<td>A Unicode string. </td></tr>
<dt><i>unistring</i>
<tr><th><i>unistring</i> </th>
<dd>A Unicode string.
<td>A Unicode string.</td></tr>
 
</table>
</dl>
===Example===
===Example===



Revision as of 04:34, 19 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('&#x40;':U)
    End

The result is:

    This is an at sign: @