Search and Replace Strings


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  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

You need to login to post a comment.