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 Quote 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. 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.