ReplaceAllSpecialCharsWithSpace
Last updated
Last updated
© Copyright 2023, Astera Software
Example
In this example, we are passing the required parameters to the function transformation object using a Variables object.
Where,
str = A@B!C$D*
Right-click on the function transformation object and select Preview Output. You can see that Astera Data Stack has returned a string, having replaced all special characters with a space.
Name
ReplaceAllSpecialCharWithSpace
Syntax
ReplaceAllSpecialCharWithSpace (String str)
Purpose
To replace all special characters in a string with a space.
Description
Places Space on index of Special Characters in a string.
Return Type
String
Parameters
Str [System.String] – The Input string