Sv Capitalize

From GECK
Jump to: navigation, search


A function added by the AnhNVSE Plugin.

Description

Capitalizes the first character of a string.

Syntax

[help]
(string) Sv_Capitalize string:string 

Example

string_var sMyString

sMyString = "pepeglare"

sNewString = Sv_Capitalize sMyString  ; returns "Pepeglare"
string_var sMyString

sMyString = "pepeglare snig"

sNewString = Sv_Capitalize sMyString  ; returns "Pepeglare snig"

See Also