Here is part of code using regular expressions

var myPattern:RegExp = / /g;
var myString:String = myString.replace(myPattern, "");

--- In flexcoders@yahoogroups.com, "hworke" <[EMAIL PROTECTED]> wrote:
>
> 
> 
>   Hi,
> 
>   I am trying to replace all the " " (Space) characters
>   from a given string. The replace function of the string
>   class only remove the first instance. Is there any builtin
>   function that will remove all?
>


Reply via email to