data cleaning

 2 Replies
 0 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
TommyT
Veteran Member
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
Posts: 1127
Veteran Member
New Poster
New Poster
Congrats on posting!
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
Posts: 3364
New Poster
New Poster
Congrats on posting!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Use the Assign node with the javascript .replace() method.

Thanks for using the LawsonGuru.com forums!
John