In both find u give
myFound var so in second find if it not found than it override the
myFound value and it not satified urcondition
try change one var to myFound1 and change if((myFound.length>0) || (myFound1.length>0)) and try
Thank you for your Tips,
But still I need to tuned. Suppose in my active document having only "$$" only, but do not have FPO, TK, AU etc...
But my report comes like as below: FPO: $$ Page Number: 5 TK: AU: But I need as below: $$ Page Number: 5 //required output
Is it possible. Could you help for my request.
myTextFile.open("e") and than
myTextFile.write("FPO: " + FPOArray + "\n\n" ) //Error this line only please help
"$$ Page Number: " + $$Array + "\n\n"
) //Error this line only please help
Thank you for your help...
I think recently you entered into forum and guide lot of beginners like me.
Hope you also join with the group of forum legends.
Thanks a lot again.