Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find number within string
Message
De
06/07/1999 17:20:54
 
 
À
06/07/1999 14:04:03
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00237774
Message ID:
00237962
Vues:
13
>Oh, crud! Slight correction:
>Change
>
>  lnNum = SUBSTR( lcString, lni )
>to
>
lnNum = VAL( SUBSTR( lcString, lni ) )
>
>Sorry, 'bout that.

I'll jump in here

lcNumber = ""
FOR lnCount = 1 TO LEN(lcOrigStr)
IF ISDIGIT(SUBSTR(OrigStr, lnCount, 1))
lcNumber = lcNumber + SUBSTR(OrigStr, lnCount, 1)
ENDIF
ENDFOR
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform