Posted By

adamzwakk on 11/06/10


Tagged

String as3 actionscript-3


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

sexyflash
onemanstudio
Leang
albertomori


Search and Replace Strings


 / Published in: ActionScript 3
 

  1. function strReplace($str:String, $search:String, $replace:String):String
  2. {
  3. return $str.split($search).join($replace);
  4. }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: adamzwakk on November 13, 2010

replaces text inside strings

You need to login to post a comment.