loading
 
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

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index