ToString (String function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 11: Line 11:
</table>
</table>
==Usage notes==
==Usage notes==
<ul>
<li>If the method object <var class="term">string</var> is a <var>Unicode</var> value, it is converted to EBCDIC as would be done by the <var>[[UnicodeToEbcdic (Unicode function)|UnicodeToEbcdic]]</var> function with the <code>CharacterEncode=True</code> argument.
</ul>
==Examples==
==Examples==
==See also==
==See also==
{{Template:String:ToString footer}}
{{Template:String:ToString footer}}

Revision as of 18:30, 14 February 2012

Convert string to a string (String class)


This function returns the string value of the method object, and is useful for converting a numeric value to a string, or a Unicode value to an EBCDIC string.

Syntax

%outString = string:ToString

Syntax terms

%outStringThe result string.
string The input value.

Usage notes

  • If the method object string is a Unicode value, it is converted to EBCDIC as would be done by the UnicodeToEbcdic function with the CharacterEncode=True argument.

Examples

See also