Day 1 – Capitalised the initial letter

Challenge

https://ampscript30.com/ampscript-challenge-day1/

To display the customers’ first names with correct capitalisation.

Solution

%%[
SET @firstname=ProperCase(FirstName)
]%%
Hello %%=v(@firstname)=%%,

We are excited to announce our new holiday package that is perfect for a getaway. With stunning beaches and breathtaking views, this package will make your vacation unforgettable.

Thank you for choosing us as your travel partner.

Best regards,
The Travel Company 

Preview

Summary

ProperCase(string) function returns specified string with the initial letter of each word capitalized.

V(string) function outputs the value of a variable.