Syntax

Platform.Function.ProperCase(value)
1 argument

Parameters

Name Type Required Description
value string Yes String to convert to title case

Examples

var name = Platform.Function.ProperCase("JANE SMITH");
Write(name); // "Jane Smith"

var city = Platform.Function.ProperCase("new york");
Write(city); // "New York"