Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Eliminate non numerics from string
Message
De
23/05/2003 03:59:43
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
23/05/2003 03:51:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00792082
Message ID:
00792087
Vues:
24
>>Hi,
>>
>>The given string is a block of numerics with leading and or trailing non numerics.
>>
>>How to eleminate all non numeric signs from the string in most simple form, best in one line.
>>
>>TIA
>>
>>Agnes
>
>i guess , just write "A" in the Format property.

Hi Mobeen,

my problem is not for display, it is for string handling
lcOldString = 'asdf1235'
lcNewString = SomeOperation(lcOldString)
?lcNewString &&result should be '1235'
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform