Upper Function | |
Convert the lowercase and mixed case characters in a string to uppercase.
Namespace:
XSharp.Core
Assembly:
XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax FUNCTION Upper(
cString AS STRING
) AS STRING
public static string Upper(
string cString
)
Request Example
View SourceParameters
- cString
- Type: String
The string to convert to uppercase.
Return Value
Type:
StringcString with all alphabetical characters converted to uppercase.
All other characters remain the same as in the original string.
Remarks
Upper() is related to Lower(), which converts uppercase and mixed case strings to lowercase.
Upper() is also related to IsUpper() and IsLower(), which determine whether a string begins with an uppercase or lowercase letter.
Upper() is generally used to format strings for display purposes.
It can, however, be used to normalize strings for case-independent comparison or indexing purposes.
Upper() and UpperA() are nation-dependent.
Examples See Also