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


You need to login to view comments.