Replacing multiple characters in C#

Posted by Yassin on Stack Overflow See other posts from Stack Overflow or by Yassin
Published on 2010-05-27T06:11:09Z Indexed on 2010/05/27 6:21 UTC
Read the original article Hit count: 428

Filed under:

How would i write a program, using the replace method, that rotates the vowels in a word? meaning the letter 'a' would be 'e', 'e' would be 'i', 'i' would be 'o', 'o' would be 'u', and finally 'u' would be 'a'.

For example, the word "instructor" would be "onstractur". I hope someone can answer my problem.

© Stack Overflow or respective owner

Related posts about c#