Hello Wadet,
I tried to track down a shipping example that use the ViConstString data type to test out my suggestion but I was unable to do so, but have you tried casting the ViConstString variable to a character pointer. The ViConstString data type is defined in the visatype.h file. There, it is defined as a pointer a character. If this is the case, it seems like you would be able to do something like:
1. Cast ViConstString variable to (char *)variable.
2. Perform string manipulation as suggested in your post.
3. Cast back to ViConstString.
Please let me know any compile errors your get, or if you have sample code to test this out.
Thanks.
Wendy L
LabWindows/CVI Developer Newsletter