smartens Posted August 6, 2015 Report Share Posted August 6, 2015 Hello, How can i search for a line feed in a string? I need it to unfold a protocol. regards Link to comment Share on other sites More sharing options...
Alexander Posted August 6, 2015 Report Share Posted August 6, 2015 How are you looking to search for the LF character? Do you need to know the location or only that it was received? Have you already received the information using the FB Scan function? If so you can use the Find String in String function and reference the LF's decimal value in the String to Find field. You can either type in the LF value, #10, in the operand to accomplish this. It will then output the found location of the character within the string if it is found. If the character is not found then it will output -1. Link to comment Share on other sites More sharing options...
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