Notifications
Announcements
Hello everyone,
I have the following output string with "\r\n" and I need to be able to compare this to have a True or False, if I have it has output.
How are you comparing these situations?
Thank you
Hi @maltiser ,
Do you want to check if string contains other characters? For example, "XXX\r\n" returns true?
Two ways for your reference.
1/Use equals condition to compare "XXX\r\n" and "\r\n".
2/Compare length of "XXX\r\n" and length of "\r\n".
Best regards,
Rimmon
Thank you for your reply, I don't have any characters there.
I was able to compare that with this:
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 522 Super User 2025 Season 2
Tomac 364 Moderator
abm abm 243 Most Valuable Professional