Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

OmarBenSalem
Esteemed Contributor

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

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

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

OmarBenSalem
Esteemed Contributor

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

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

MVP
MVP

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

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
Community Browser