Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Search for number in a string
Message
 
 
À
17/08/2011 08:24:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01521152
Message ID:
01521167
Vues:
52
>Hi Victor.
>
>>If STR(Times.WordUsed) $ Caught2
>
>No, because STR() without specifying a length pads the value with spaces to a length of 10, so 123 becomes "123 ". Sergey's suggestion to use TRANSFORM() works better because it doesn't pad the value.
>

STR() pads result but with leading spaces
 "       123"
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform