Forum Discussion
NisHera
8 years agoValued Contributor
wrote a function in JScript as follows
function abcd(){ var stringA = "Hello how are you Hello, Hlleo, Hello, Hello. Hello"; var HelloCount =0; var startingAt =0; do { startingAt = aqString.Find(stringA, 'Hello', startingAt, false)+1; HelloCount = HelloCount+1; } while (startingAt<=aqString.FindLast(stringA, 'Hello', false)); Log.Message(HelloCount); }
anhvu
8 years agoFrequent Contributor
I got the solution.
However, thank you very much.