This function converts all whitespace-separated words in the given text into capitalized words (only the word's first letter is upper case and the remaining letters are lower case).


capitalizeWordsFully(text) #Output: Text



Parser expressionDescription


capitalizeWordsFully("heLLo WORLD!")


This example returns "Hello World!"


capitalizeWordsFully("jIrA wOrKfLoW tOoLbOx!")


This example returns "Jira Workflow Toolbox!"



Parameters used in this function

ParameterInput (data type)Description
text

Any given text.



This function returns a



Use cases and examples




Status
Tech review

Style guide




Parser function cloud
Map(question)
Notes

Workaround


let words = issue.summary.split(" ");
 
words.map(w=>w.split("").map(c=>w.indexOf(c)==0? c.toUpperCase(): c.toLowerCase())).join().replace("\[", "").replace(" ","").replace(",","").replace("\]"," ")

This expression works the same as the previous one, but making sure that the chars that are not the first in each word are in lower case.





Short description

Capitalizes an entire text.

Output

Available since

Label