In my application GetROProperty is throwing irrelevant text for static object . So I am using GetVisible Text for the static object . But since I am using the same script for different OS , the getvisible text length changes for different OS.since the text i need to compare is two ot three lines trim is also not working.

can u provide me with some solution so that the same one works for different OS.