Forum Discussion
NisHera
9 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
9 years agoFrequent Contributor
I got the solution.
However, thank you very much.