Hello... I have two strings that I'm comparing, but am getting a lot of failures because part of the strings are real time stock prices.
I'd like to compare only the text aspects of the strings, if possible. Anybody know how?
Example of two strings I'm comparing...
This should PASS:
STR1 = QUALCOMM INC (QCOM US) PRICE 50.84 D $ DELAYED
STR2 = QUALCOMM INC (QCOM US) PRICE 50.81 D $ DELAYED
This should FAIL:
STR1 = QUALCOMM INC (QCOM US) PRICE 50.84 D $ DELAYED
STR2 = QUALCOMM INC (QCOM US) PRICE 50.84 Y $ DELAYED
Any idea how I can strip out the numeric values for a comparison?
The text before/after will vary, as will the position within the string, so I can't think of a way to parse more appropriately.
Thank you for any help!
Bookmarks