Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
profuse
Creator
Creator

How to Convert all uppercase letters (after the first letter) in an expression to lowercase.

Hi,

My input data contains all uppercase letters. I would like convert all uppercase letters (after the first letter) in an expression to lowercase. Example: The column lastname is SMITH, I would like to convert it to: Smith.

Does anyone know how to do this?

Thanks

 

Labels (2)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

Hi,
Many ways to do that.
For example:
row1.yourString.substring(0,1).toUpperCase()+row1.yourString.substring(1).toLowerCase()

View solution in original post

6 Replies
TRF
Champion II
Champion II

Hi,
Many ways to do that.
For example:
row1.yourString.substring(0,1).toUpperCase()+row1.yourString.substring(1).toLowerCase()
profuse
Creator
Creator
Author

That Works!!!!
Thank's TRF!!!!!
profuse
Creator
Creator
Author

TRF,

 

How would you do this for an address column which has the street address and street name in the same column?

example: 2788 CAPITAL MEDICAL BLVD

Would like the result to look like: 2788 Capital Medical Blvd

Thanks

 

 

 

 

profuse
Creator
Creator
Author

I went to the link and don't see how to code that in the t-Map.

Help!

TRF
Champion II
Champion II

@profuse as this is not the same quastion, please open a new topic