capitalize

fun capitalize(string: String): <Error class: unknown class>

Capitalizes the first character of a string.

Example: hello, world! ->Hello, world!

Return

a new string with the first character capitalized

Parameters

string

string to capitalize

Chaining

This function is designed to be chained with other function calls:
String::capitalize -> <Error class: unknown class>