Name
initcap — returns its argument with the first letter capitalized
Synopsis
initcap
( |
str string ) ; |
Description
initcap returns a copy of string str with the first character, if it is a lowercase letter, converted to the corresponding uppercase letter. Otherwise, an identical copy of the string is returned. Notes about ucase apply also here.
initcap('simurg!') -> 'Simurg!'