Special characters solution!


Would you guys have an idea on how to deal with input or check whether inputhas the following special characters, i.e. read a file of text
containing a list of words and check for the occurrence
of these characters:

or - as used in the word "p"

* or * - as used in the word "r*ma"

Š or š - as used in the word "lešaša"

If a word has any of these character replace each character by the
following characters respectively:

with o^

* with e^

š with sh

I would appreciate it if you could have a short program to sort this issue out.

Let the file called words.doc (or having any extension) containing the following words.

"p r*ma lešaša"


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!