UnicodeWith (Unicode function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "<span style="font-size:120%; color:black"><b>Concatenation of Unicode string with another</b></span> UnicodeWith function [[Category:Intrin...")
 
mNo edit summary
 
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span style="font-size:120%; color:black"><b>Concatenation of Unicode string with another</b></span>
{{Template:Unicode:UnicodeWith subtitle}}
[[Category:Intrinsic Unicode methods|UnicodeWith function]]
<var>UnicodeWith</var> returns the <var>Unicode</var> string that is the concatenation of the method object <var>Unicode</var> string and its <var>Unicode</var> string argument.
[[Category:Intrinsic methods]]
[[Category:System methods]]
<!--DPL?? Category:Intrinsic Unicode methods|UnicodeWith function: Concatenation of Unicode string with another-->
<!--DPL?? Category:Intrinsic methods|UnicodeWith (Unicode function): Concatenation of Unicode string with another-->
<!--DPL?? Category:System methods|UnicodeWith (Unicode function): Concatenation of Unicode string with another-->


This function returns the Unicode string that is the concatenation of
==Syntax==
the method object Unicode string and its Unicode string argument.
{{Template:Unicode:UnicodeWith syntax}}
===Syntax terms===
<table class="syntaxTable">
<tr><th>%outUnicode</th>
<td>A <var>Unicode</var> variable to receive the result of the <var>UnicodeWith</var> method. </td></tr>
<tr><th>unicode</th>
<td>A <var>Unicode</var> string. </td></tr>
<tr><th>unicode2</th>
<td>A <var>Unicode</var> string.</td></tr>
</table>


The UnicodeWith function is available as of version 7.6  of the ''Sirius Mods''.
==Usage Notes==
===Syntax===
<ul>
  %outUni = unicode:UnicodeWith(unistring)
<li><var>UnicodeWith</var> is available as of <var class="product">Sirius Mods</var> Version 7.6.
====Syntax Terms====
</ul>
<dl>
<dt><i>%outUni</i>
<dd>A Unicode variable to receive the result of the UnicodeWith method.
<dt><i>unicode</i>
<dd>A Unicode string.
<dt><i>unistring</i>
<dd>A Unicode string.


</dl>
==Examples==
===Example===
The following is a simple <var>UnicodeWith</var> call:
<p class="code">begin
  %u is unicode initial('This is an at sign: ')
  print %u:unicodeWith('&amp;#x40;':[[U (String function)|U]])
end
</p>
The result is:
<p class="output">This is an at sign: @
</p>


The following is a simple UnicodeWith call:
==See also==
The U function in the example is described ??[[U (String function)|U]].
{{Template:Unicode:UnicodeWith footer}}
<pre>
    Begin
      %u is unicode Initial('This is an at sign: ')
      Print %u:unicodeWith('&amp;#x40;':U)
    End
</pre>
 
The result is:
<pre>
    This is an at sign: @
</pre>

Latest revision as of 20:42, 6 November 2012

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.

Examples

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