strCapitalize

Capitalizes the first character of a string and lowercases the rest. Takes str (string to capitalize). Returns a new string with the first character converted to uppercase and all remaining characters converted to lowercase.

String

Parameters & Returns

Parameters

str String

Returns

String

Quick Summary

Capitalizes the first character of a string and lowercases the rest. Takes str (string to capitalize). Returns a new string with the first character converted to uppercase and all remaining characters converted to lowercase.

Technical Exegesis...

Returns a new string with the first character converted to uppercase and all remaining characters converted to lowercase.

Returns an empty string if str is null or empty. This converts the entire string to lowercase first, then capitalizes only the first character. Useful for formatting names, titles, or standardizing text input.

Example

Example.bam
; No example implemented yet