MI Numeric Values in String

2000-07-11 Thread Eric Beattie
Does anyone have a quick and dirty method of extracting all the numeric characters in a string using MapBasic? Thanks in advance -- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe

Re: MI Numeric Values in String

2000-07-11 Thread Bill Thoen
Eric Beattie wrote: Does anyone have a quick and dirty method of extracting all the numeric characters in a string using MapBasic? Here's one way to do it: function CleanString (byval sText as string) as string dim i, j as integer dim sResult, c as string j = Len(sText) if j = 0 then