Jump to content

Long story short, if i was trying to find out how many times a document or set of paragraphs said the word "and" for an example, is there an application i can use that can highlight all of the "and" s in the selected document/ paragraphs?

The Canadian Version Of Everything

-Made In Canada

Link to comment
https://linustechtips.com/topic/632826-word-filterer/
Share on other sites

Link to post
Share on other sites

Something like this:

 

for (int i = 0; i > AMOUNT_OF_LETTERS; i++)

{

    if (ARRAY_OF_LETTERS.lowercase() == "a")

    {

        if (ARRAY_OF_LETTERS[i+1].lowercase() == "n")

        {

            if (ARRAY_OF_LETTERS[i+2].lowercase() == "d")

 

and so on.

 

What language are you using?

Link to comment
https://linustechtips.com/topic/632826-word-filterer/#findComment-8168416
Share on other sites

Link to post
Share on other sites

Just now, spidsepttk said:

Are you programming this? What language?

no, i just have a document with paragraphs in it that i am trying to see how many times certain words are said (i would think this would be easier than counting each time the word is said)

The Canadian Version Of Everything

-Made In Canada

Link to comment
https://linustechtips.com/topic/632826-word-filterer/#findComment-8168433
Share on other sites

Link to post
Share on other sites

22 minutes ago, spidsepttk said:

OH sorry, didnt read the question properly, open it in Word or something than press CTRL+F, type in "and".

Yeah I think you really confused this guy! ;)

You can do it in most web browsers too. Just remember ctrl+f

I edit my posts a lot.

Link to comment
https://linustechtips.com/topic/632826-word-filterer/#findComment-8168491
Share on other sites

Link to post
Share on other sites

1 minute ago, MrDrWho13 said:

Yeah I think you really confused this guy! ;)

You can do it in most web browsers too. Just remember ctrl+f

The programming part was not what i was expecting at first but none the less, Thank You.

The Canadian Version Of Everything

-Made In Canada

Link to comment
https://linustechtips.com/topic/632826-word-filterer/#findComment-8168500
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×