MVP 2021 Flex727 Posted March 7, 2014 MVP 2021 Report Share Posted March 7, 2014 I've got a problem that I need to perform some manipulations with an ASCII string, but it's possible there are NULL characters (0) in the string. The NULL character may only be one of the 2 bytes in one of the MIs that are part of the vector. I need to check the vector for NULL characters and replace them with H-20 (space). Is there a way to do this? Quote Link to comment Share on other sites More sharing options...
MVP 2021 Joe Tauser Posted March 9, 2014 MVP 2021 Report Share Posted March 9, 2014 Have you tried Strings->Replace StrA with StrB? You'll have to set MI's with power-up values of 00h and 20h, There's no parameter for the string length in the function block, so I'd be careful with the number of times to replace value. Joe T. Quote Link to comment Share on other sites More sharing options...
MVP 2021 Flex727 Posted March 9, 2014 Author MVP 2021 Report Share Posted March 9, 2014 I looked all through the Help file and never saw that function. Thanks, Joe. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.