Advertisement
Dmitry_Dronov

replace

Nov 26th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. dataEnteringNode = IN[0]
  2. Old = IN[1]
  3. New = IN[2]
  4. word = []
  5.  
  6. for i in dataEnteringNode:
  7.     word.append(i.replace(Old, New))
  8.  
  9. OUT = word
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement