Use regex replacement strings

You could use the titlecase() function:

titlecase(replace(str, '+' => ""))
2 Likes