Posted By

Meestercor on 01/22/09


Tagged

textmate replace text


Versions (?)

replace text


 / Published in: Other
 

  1. function replaceText( field:TextField, toSearch:String, toReplace:String)
  2. {
  3. return field.split(toSearch).join(toReplace);
  4. };

Report this snippet  

You need to login to post a comment.