Convert the lowercase and mixed case characters in a string to uppercase, changing the contents of the argument as well as the return value.
XSharp.Core (in XSharp.Core.dll) Version: 2.2a
Syntax View Source
cString REF STRING
) AS STRING
public static string UpperA(
ref string cString
- Type: String
The string to convert to uppercase.
<cString> with all alphabetical characters converted to uppercase. All other characters remain the same as in the original string.
UpperA() is similar to Upper() except that it changes the contents of the argument as well as the return value. See Upper() for details.
You may change more than one variable at the same time (see example below).
These examples illustrate the effects of UpperA(). Compare them to the results of the Upper() example:
LOCAL cName AS STRING
cName := "noLi1"
? UpperA(cName) // NOLI1
? cName // NOLI1
This example shows how you may change more than one variable at the same time:
a:= "i Change"
? b // "I Change"
? a // "I Change"