Just wondering if anyone out there can help me with this:-
I'm searching a large string for all instances of character 'I' and need to establish not only the number of instances of 'I' but also their position within the string (ie - 1st/2nd etc).
I know I can use:-
numberVar z := InStr({field to be searched},"I")
but this will only set the variable z to the position of the first instance of 'I', whereas I need to get the position of each instance (to later be used in another formula).
Any ideas?
I'm searching a large string for all instances of character 'I' and need to establish not only the number of instances of 'I' but also their position within the string (ie - 1st/2nd etc).
I know I can use:-
numberVar z := InStr({field to be searched},"I")
but this will only set the variable z to the position of the first instance of 'I', whereas I need to get the position of each instance (to later be used in another formula).
Any ideas?