Quote from
Gaev on September 14, 2021, 3:36 pm
@kazem
how many oof a spcial word are there
The best way to get the information you need is to do this ...
SetVar "[speacialWord]" "orange"
StrParse [fileContent] "[specialWord]" [resultingArray]
ArrayLen [resultingArray] [numberOfSpecialWords]
... you may have to expand on this to allow for zero matches or the [specialWord] being located at the start or end of the [fileContent].
@kazem
how many oof a spcial word are there
The best way to get the information you need is to do this ...
SetVar "[speacialWord]" "orange"
StrParse [fileContent] "[specialWord]" [resultingArray]
ArrayLen [resultingArray] [numberOfSpecialWords]
... you may have to expand on this to allow for zero matches or the [specialWord] being located at the start or end of the [fileContent].
luishp has reacted to this post.