Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting data from the registry
Message
 
To
14/09/2000 09:23:49
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00416320
Message ID:
00416325
Views:
26
>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,
Previous
Reply
Map
View

Click here to load this message in the networking platform