Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
OmarBenSalem

Is there a way to count the number of Lines and Words used in a script?

Hi folks,

I was wondering, is there a way to count the number of Lines and/or Words in the script?

If yes, are you aware of a method you want to share?

Thanks !

3 Replies
sunny_talwar

No idea, but number of lines can be figured out from the logfiles

OmarBenSalem
Author

Yes, since we can see it in the log, it should be possible to have the information one way or another .. ! No?

I'll keep on searching

jonathandienst
Partner - Champion III
Partner - Champion III

Nothing internally - but you can export the script to a text file and get the char/word/line counts from a text editor.

If you use a -prj folder, the script will already be in a text file in the -prj folder (Loadscript.txt). I open these script files in Notepad++ which gives me that type of information information.

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein