data cleaning

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
TommyT
Veteran Member Send Private Message
Posts: 58
Veteran Member
I have a data source that contains special characters (/ \ ) in several fields and I have to write it out without those characters - they should be replaced by spaces.

Is there an accepted way to do this in a flow?
David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
You can use the JavaScript .replace() function to take those special characters out of your variable.
Look it up at http://www.w3schools.com/...ef/jsref_replace.asp
David Williams
John Henley
Send Private Message
Posts: 3351
Use the Assign node with the javascript .replace() method.

Thanks for using the LawsonGuru.com forums!
John