Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 677 Bytes

dw-core-functions-upper.adoc

File metadata and controls

47 lines (31 loc) · 677 Bytes

upper

upper(text: String): String

Returns the provided string in uppercase 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(value: Null): Null

Helper function that enables upper to work with a null value.