Hello,
I was wondering how you can copy information (from a webpage, for example) and store it in a string?

Also, how would I take only one word of the string if there are spaces between words and I will always be removing the word with the same location in the string (for example, the last word in string).

If you have any questions ask them so I can get an answer sooner.
Thanks in advance.

Hello,
I was wondering how you can copy information (from a webpage, for example) and store it in a string?

Also, how would I take only one word of the string if there are spaces between words and I will always be removing the word with the same location in the string (for example, the last word in string).

If you have any questions ask them so I can get an answer sooner.
Thanks in advance.

Forget the first part. How do you remove part of a string and keep the last word?
The program will be doing this multiple times and there may not always be the same number of words in the string, but i'll need the last one.

Thanks in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.