Issue
I have two string when I compare them - I always have them as if they are not equal
One of strings is from Firebase Real-Time Database
How to solve this problem?
Strings:
In code:
In console:
Result:
Code:
Console:
Solution
I think this link will help you. Probably using .strip() will solve your issue. Some characters of the string are not "visible" to the human eye/print.
Answered By - Marius Razvan Varvarei
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.