Click or drag to resize

LowerA Function

Convert the uppercase and mixed case characters in a string to lowercase, changing the contents of the argument as well as the return value.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.6
Syntax
 FUNCTION LowerA(
	cString REF STRING
) AS STRING
Request Example View Source

Parameters

cString
Type: String
The string to convert to lowercase.

Return Value

Type: String
<cString> with all alphabetic characters converted to lowercase.
All other characters remain the same as in the original string.
Remarks
LowerA() is the same as Lower(), except that LowerA() converts both the characters in the original string and the characters in the return value to lowercase.  See Lower() for more information.
Tip Tip
You may change more than one variable at the same time (see example below).
Examples
This example shows how LowerA() converts both the original string and the return value to lowercase.  Compare the results to the results in the Lower() example:
X#
1LOCAL cString AS STRING
2cString := "DATA"
3? LowerA(cString)        // data
4? cString                    // DATA
This example shows how you may change more than one variable at the same time:
X#
1a := "I Change"
2b := a
3LowerA(b)
4? b                     // "i change"
5? a                     // "i change"
See Also