Uppercase
Strings
Pure
Uppercase
Text
Result
Description
Pure function returning the text converted to uppercase using the root locale.
When to use
Use Uppercase when you need to normalise text for case-insensitive comparison, storage, or display — for example, converting an HTTP method string before feeding it into Equals. Because the root locale is used, results are consistent regardless of the server’s runtime locale.
Pins
Input pins
| Pin | Type | Default | Notes |
|---|---|---|---|
| Text | string | — | The string to convert. Conversion uses the root locale, so results are locale-independent. |
Output pins
| Pin | Type | Notes |
|---|---|---|
| Result | string | The uppercased string. |
Example
Normalize a user-supplied status code before comparing it. Read the request body with
Stream to string, then wire the Value output into the Text input of Uppercase. Feed the
Result output into the A input of Equals with B set to "ACTIVE". The values “active”
or “Active” are both normalized to "ACTIVE" before the comparison, making the check
case-insensitive.