UnicodeWith (Unicode function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 26: Line 26:


The following is a simple UnicodeWith call:
The following is a simple UnicodeWith call:
The U function in the example is described ??[[U (String function)|U]].
The [[U (String function)|U constant function]] is used in the example.
<pre>
<pre>
     Begin
     Begin

Revision as of 22:10, 21 December 2010

Concatenation of Unicode string with another

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

  %outUni = unicode:UnicodeWith(unistring)

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: @