ToString (String function): Difference between revisions
Jump to navigation
Jump to search
m (→Usage notes) |
m (→Usage notes) |
||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
<tr><th>%outString</th><td>The result string.</td></tr> | <tr><th>%outString</th><td>The result string.</td></tr> | ||
<tr><th>string</th> | <tr><th>string</th> | ||
<td>The input value.</td></tr> | <td>The method object input value.</td></tr> | ||
</table> | </table> | ||
==Usage notes== | ==Usage notes== | ||
<ul> | <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. | <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> | </ul> | ||
Latest revision as of 02:19, 24 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
%outString | The 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.