MVP 2023 Flex727 Posted March 7, 2014 MVP 2023 Report 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?
MVP 2023 Joe Tauser Posted March 9, 2014 MVP 2023 Report 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.
MVP 2023 Flex727 Posted March 9, 2014 Author MVP 2023 Report Posted March 9, 2014 I looked all through the Help file and never saw that function. Thanks, Joe.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now