Uppercase
→ stringConverts all characters in a string to uppercase.
Available in:
Email
CloudPage
Automation
Triggered Send
Syntax
Platform.Function.Uppercase(value)
1 argument
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
value |
string | Yes | String to convert to uppercase |
Examples
var upper = Platform.Function.Uppercase("hello world");
Write(upper); // "HELLO WORLD"
// Normalize for comparison
var status = Platform.Function.Uppercase(Platform.Request.GetQueryStringParameter("status"));
if (status === "ACTIVE") { ... }