Forum Discussion
What you want is aqString.GetChar(s,10) where 's' is the string and '10' is the position.
I've tried the below but this still doesn't appear to work, am I doing something wrong?
- JBSoccerbrit9 years agoContributor
I've also tried.
- JBSoccerbrit9 years agoContributor
We managed to resolve this by assigning a variable value like so.
aqString.GetChar(Aliases.browser.wndSOURCE_VIEWER.page32770.RICHEDIT50W.wText,9)
Then doing an IF Then to pull the result of the 9th position in the variable. - joseph_michaud9 years agoModerator
Check the general subject of Debugging Tests and Evaluating Expressions. With the Evaluator you can explore using the function calls on the object in question.
Offhand, I'd say that you have to use a Code Expression using aqString.GetChar() (note spelling), and that it is not likely that a character has the value 0. Instead, compare to a (one-character) string. (You will not need to quote the string.)