Friday 11 January 2019

Convert text from lowercase to uppercase

The following JavaScript code was developed to convert a surname value in a spreadsheet from lowercase 'toUpperCase'. The reason for this was that the uppercase version was used as part of of a subsequent filename in Google drive.

In the example below I have just created a variable directly in the code, but it is likely you will get this from elsewhere, eg a spreadsheet.

No comments:

Post a Comment