capfirst
Capitalize the first character of the value.
def capfirst(
value: string
) - > string
Capitalize the first character of the value.
Parameters
| Name | Type | Description |
|---|---|---|
| value | string | The string value whose first character will be capitalized |
Returns
| Type | Description |
|---|---|
string | The input string with its first character converted to uppercase, or the original value if it is empty or null |