firstToUpper

Converts the first character of a string to uppercase.

TString
firstToUpper
(
TString
)
(
TString s
)
if (
isSomeString!TString
)

Parameters

s TString

The string to uppercase the first character.

Return Value

Type: TString

Returns a new string with the first character uppercased. The string is returned unmodified if its null or empty.

Meta