I am trying to capitalise the first letter of the word in the Web2Print Editor that uses JavaScript. It has a form ${info.Gender} which changes to 'he' or 'she' in the text depending on the selected gender. The ${info.Gender.toUpperCase()} changes the text to 'HE' or 'SHE'. I am looking at a simple solution to capitalise only the first letter so that, if the variable is at the start of the sentence, it becomes either 'He' or 'She'