static public function replace(pstr:String, pold:String, pnew:String):StringBasic replace string method. It replace in the string pstr the pattern pold by the new pattern pnew.
pstr | The string to modify |
pold | The old pattern to replace |
pnew | The new pattern you want to replace with |
The modified string.
static public function getTextBetween(pstr:String, pdeb:String, pfin:String):ArrayReturns an array containing all the strings that are between the pattern deb and end. The patterns aren't in the result strings.
pstr | String the string we are going to look for patterns into. |
pdeb | String the start pattern |
pfin | String the end pattern |
An array of Strings if we have found some parts of string matching the pattern, or an empty array if not.