Lower Function | |
Convert the uppercase and mixed case characters in a string to lowercase.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION Lower(
cString AS STRING
) AS STRING
public static string Lower(
string cString
)
Request Example
View SourceParameters
- cString
- Type: String
The string to convert to lowercase.
Return Value
Type:
StringcString with all alphabetic characters converted to lowercase.
All other characters remain the same as in the original string.
Remarks
Lower() is related to Upper(), which converts lowercase and mixed case strings to uppercase. Lower() is also related to IsLower() and IsUpper(), which determine whether a string begins with a lower or uppercase letter.
Lower() is generally used to format strings for display purposes.
It can, however, be used to normalize strings for case-independent comparison or indexing purposes.
This function is nation-dependent.
Examples
These examples demonstrate various results of Lower():
1? Lower("1234 CHARS = ")
2LOCAL cString AS STRING
3cString := "DATA"
4? Lower(cString)
5? cString
See Also