The UpperCase function capitalizes all letters in a string. A good use case is using UpperCase on a coupon code or some value that you want in all uppercase.
Example:
%%[
set @couponCode = Uppercase([CouponCode])
]%%
Here is your code: %%=v(@couponCode)=%%,
Data Extension:
EmailAddress | CouponCode |
test@test.com | ads3g5gfss |
Output:
Here is your code: ADS3G5GFSS
Explanation:
The UpperCase function capitalizes the letters in the string and ignores the numbers. This is helpful if your data is not formatted correctly in the data extension and you want it to show consistently in all capital letters.