ToString (String function)

From m204wiki
Revision as of 02:19, 24 February 2012 by JAL2 (talk | contribs) (→‎Usage notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 method object 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