It would be best to use a regular expression.
On Sep 14, 5:37 am, "Mohd.Tareq" <tareq.m...@gmail.com> wrote: > Try object.substring('.',' '); > > On Mon, Sep 14, 2009 at 3:40 PM, runrunforest <craigco...@gmail.com> wrote: > > > Hi, > > > I have an array like this cat=(com12, com1, cop233, com1.1, sap-12-1) > > > I want to take out all the numbers and "." and "-" signs > > > the desire result is cat=(com, com, cop, sap) > > > how can i do that please ? > > -- > Regard > Mohammad.Tareque