CapitalizeInPlace
Capitalizes the string in place.
Module: Std
Signature
rux
func CapitalizeInPlace(self);Description
Mutates the receiver's existing buffer, uppercasing the first character and lowercasing the remaining ASCII letters. An empty string is left unchanged. Unlike Capitalize, it allocates nothing and returns nothing.
See also
String— the string typeCapitalize— the copying variantTitleCaseInPlace— capitalize every word in place