Capitalize
  • 16 Apr 2024
  • 1 Minute to read
  • Dark
    Light

Capitalize

  • Dark
    Light

Article summary

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 Function Syntax

Capitalize(<value>)

Examples

The following Expression returns a String that contains the value Hello World:

Capitalize Function Example

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 Function Example

Capitalize([Datasource].[Consumer Sales].[Field].[SalesRepName])


Was this article helpful?

What's Next