- 16 Apr 2024
- 1 Minute to read
- DarkLight
Capitalize
- Updated on 16 Apr 2024
- 1 Minute to read
- DarkLight
General
The Capitalize function can be used to capitalize the first letter of every word in a given String.
Syntax
The syntax of the Capitalize function is:
Capitalize(<value>)
Examples
The following Expression returns a String that contains the value Hello World:
Capitalize("hello world")
The following Expression returns a String that contains the capitalized value of the field SalesRepName in the Datasource named Consumer Sales:
Capitalize([Datasource].[Consumer Sales].[Field].[SalesRepName])