UnicodeWith (Unicode function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (syntax terms, tags and links)
mNo edit summary
Line 10: Line 10:
<tr><th>unicode</th>
<tr><th>unicode</th>
<td>A <var>Unicode</var> string. </td></tr>
<td>A <var>Unicode</var> string. </td></tr>
<tr><th>unicode</th>
<tr><th>unicode2</th>
<td>A <var>Unicode</var> string.</td></tr>
<td>A <var>Unicode</var> string.</td></tr>
</table>
</table>


==Usage Notes==
==Usage Notes==
<ul><li><var>UnicodeWith</var> is available as of <var class="product">[[Sirius Mods|"Sirius Mods"]]</var> Version 7.6.</ul>
<ul><li><var>UnicodeWith</var> is available as of <var class="product">[[Sirius Mods]]</var> Version 7.6.</ul>


===Example===
===Example===
<ol><li>The following is a simple <var>UnicodeWith</var> call:
The following is a simple <var>UnicodeWith</var> call:
<p class="code">begin
<p class="code">begin
   %u is unicode initial('This is an at sign: ')
   %u is unicode initial('This is an at sign: ')
Line 26: Line 26:
The result is:
The result is:
<p class="output">This is an at sign: @
<p class="output">This is an at sign: @
</p></ol>
</p>


==See also==
==See also==
{{Template:Unicode:UnicodeWith footer}}
{{Template:Unicode:UnicodeWith footer}}

Revision as of 21:39, 1 March 2011

Concatenate this Unicode string with another (Unicode class)

UnicodeWith returns the Unicode string that is the concatenation of the method object Unicode string and its Unicode string argument.

Syntax

%outUnicode = unicode:UnicodeWith( unicode2)

Syntax terms

%outUnicode A Unicode variable to receive the result of the UnicodeWith method.
unicode A Unicode string.
unicode2 A Unicode string.

Usage Notes

  • UnicodeWith is available as of Sirius Mods Version 7.6.

Example

The following is a simple UnicodeWith call:

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