Contact Free trial Login

upper

upper(String): String

Returns the provided string in upper-case characters.

Parameters

Name Description

text

The string to convert to uppercase.

Example

This example converts lowercase characters to uppercase.

Source

%dw 2.0
output application/json
---
{
  "name" : upper("mulesoft")
}

Output

{
  "name": "MULESOFT"
}

upper(Null): Null

Helper function that allows upper to work with null values.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub