Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Upper + Fist letter caps

Hi

Is there a way in Qlikview to change a text to have first letter of every word as Capital

Eg: "NEW YORK" or "new york" would become "New York"

Thanks

Amit

1 Solution

Accepted Solutions
Not applicable
Author

This is the "capitalize" function". So if your field is capital it would be:

capitalize([Capital])

Should work both in the script and chart expressions.

From the QV Reference Manual:

capitalize( s )
Returns the string s with all words capitalized.
Examples:
capitalize( 'my little pony' ) returns 'My Little Pony'.
capitalize( 'AA bb cC Dd' ) returns 'Aa Bb Cc Dd'.

View solution in original post

1 Reply
Not applicable
Author

This is the "capitalize" function". So if your field is capital it would be:

capitalize([Capital])

Should work both in the script and chart expressions.

From the QV Reference Manual:

capitalize( s )
Returns the string s with all words capitalized.
Examples:
capitalize( 'my little pony' ) returns 'My Little Pony'.
capitalize( 'AA bb cC Dd' ) returns 'Aa Bb Cc Dd'.