top of page

Espocrm formula: upper case first

Here is a simple formula script helped me and I like to share with readers:


// ex: name = hello world.
// $firstLetterUpper = H
$firstLetterUpper = string\upperCase(string\substring(name, 0, 1));

name = string\concatenate(
    $firstLetterUpper, 
    string\substring(name, 1) // the rest of the name string
);


81 views2 comments

Recent Posts

See All
bottom of page