Hi,
I meet a weird question. I want to remove empty characters with string manipulation node by removeChars(column), but the result still contains some empty characters.
Does anybody meet this problem before? Thanks a lot!
Jocelyn

Hi,
I meet a weird question. I want to remove empty characters with string manipulation node by removeChars(column), but the result still contains some empty characters.
Does anybody meet this problem before? Thanks a lot!
Jocelyn
Hi,
I think it is best to use the regexReplace function:
regexReplace($Email Address$, "\\s+", "")
This replaces any whitespace character sequence with an empty string.
Kind regards,
Alexander
Hi @Jocelyn,
beside @AlexanderFillbrunn solution (which covers more) you could also just change your function from remove to “strip” (in case your characters at the beginning are spaces
I would suggest to use Alexanders solution but in case you need to clear strings in the future and do not have the regex availible
Hello!
Function removeChars() from String Manipulation removes all space characters from string.
Br,
Ivan
oh actually did not know, always used strip or regex
Thanks for the info - then my comment above can be ignored
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.