Lasso Soft Inc. > Home

[ string->toupper ]

Method

[String->ToUpper] modifies the string object in-place by converting a specified character in the string to uppercase. Requires a single integer parameter, which indicates the position of the character to change.

  • Syntax
'String Object'->toupper(Integer)
Examples
  • Beginner

To change the case of a single character to upper case:

Use the [String->ToUpper] method. The following example converts a single character in a string object to upper case, then outputs the string.

Code

local('s') = 'a quick white rhino'
#s->toupper(3)
#s

Result

a Quick white rhino

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2014 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft