Because just '' has defind a blank string value. Clen will only remove a
NULL or an Undefined value. you will want erase to get the effect you are
looking for

console.log(Array.from((",1,2,3,4,").split(",")).erase(''))

On Thu, Jul 14, 2011 at 8:54 PM, Steve Onnis <[email protected]> wrote:

> Why would this not work?****
>
> ** **
>
> console.log(Array.from((",1,2,3,4").split(",")).clean())****
>
> ** **
>
> The first item is returned as an empty string but i don’t want it there at
> all...****
>
> ** **
>
> Steve****
>

Reply via email to