|
OCR resoult Jay from Slovenia [2 posts] |
2 year
|
Hello, i have been trying to compare two codes for a match using and OCR. Is there a way to split the OCR result variable for each of the read subjects. What would be the easiest way to achieve that. Grateful for a response.
program.robo
|
|
|
Steven Gentner from United States [1446 posts] |
2 year
|
Jay,
Probably the easiest way is to use a small VBScript routine to split the result and then compare the two parts to see if they are equal.
Attached is your robofile that includes a VBScript module with some small bit of code to do that. It then sets a "Result" variable if the two are equal or not.
Watch out of the addition of spaces or newlines that can cause the comparison to not be equal. The "trim" function will remove any of those.
STeven.
program.robo
|
|
|
Jay from Slovenia [2 posts] |
2 year
|
Than you so much this works great
|
|