and I would need only
123456
The following does not work.
Do $b=StringLeft ($a,1) StringTrimLeft ($a,1) Until StringIsDigit($b)<>"0"
Edited by GEOSoft, 19 January 2004 - 11:47 PM.
Posted 19 January 2004 - 11:45 PM
Do $b=StringLeft ($a,1) StringTrimLeft ($a,1) Until StringIsDigit($b)<>"0"
Edited by GEOSoft, 19 January 2004 - 11:47 PM.
Posted 19 January 2004 - 11:49 PM
$a = "ABC1234" While StringIsDigit( StringLeft($a, 1) ) = 0 $a = StringTrimLeft($a, 1) WEnd MsgBox(4096, "", $a)
Posted 20 January 2004 - 12:16 AM
Posted 20 January 2004 - 03:36 AM
$a = "A1B2C34D5Z" $b = "" for $I = 1 to StringLen($a) If StringIsDigit(StringMid($a,$i,1)) then $b = $b & StringMid($a,$i,1) Next msgbox(4096,"",$b)
Edited by sconley, 20 January 2004 - 03:38 AM.
0 members, 0 guests, 0 anonymous users