[1.1.4] Region.text(): adds new-line at the end of the recognized string
Asked by
Linda
My code:
a = find("155728254
b = "64"
print a
print "--"
print b
if a == b:
print 'pass'
else:
print 'diff'
Result:
64
--
64
diff
How to do with no empty string?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply:
To post a message you must log in.