© Copyright 2023, Astera Software
We have a customers' dataset in which the ContactTitle field is in pascal case. Our goal is to add spaces between the characters in this field.
We will map the ContactTitle data field to the str under the Input node inside the Function transformation object.
In the output, you can see that the data inside the ContactTitle field has been converted to proper case.
Name
PascalCaseWithSpace
Applicable To (DataType)
String
Purpose
To insert a space between a string written in PascalCase.
Description
Places a space between characters of PascalCase string.
Return Type
String
Syntax
str [System.String] – the PascalCase string