Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extracting data from the registry
Message
 
À
14/09/2000 09:23:49
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00416320
Message ID:
00416325
Vues:
24
>I am extracting a path string that I have stored in the Windows registry. When the string is extracted, it is terminated with a NULL character. I trim this character off and use the string. This works just fine in Windows 98 and Win 95. NT, however, seems to ignore the striping action, and therefore keeps the NULL terminated string. How do I get rid of the NULL character in NT?
>
>Ed


I do first cut the NULL character and then use alltrim.
mystring = alltrim(Left(mystring,len(mystring),1))
Hope this is what you mean,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform