CBA_fnc_capitalize

Description

Upper case the first letter of the string, lower case the rest.

Parameters

_stringString to capitalize [String]

Returns

Capitalized string [String].

Examples

_result = ["FISH"] call CBA_fnc_capitalize;
// _result => "Fish"

_result = ["frog-headed fish"] call CBA_fnc_capitalize;
// _result => "Frog-headed fish"

Author

Spooner, joko // Jonas

Close