Im trying to work out how to do a project called pig latin in 2003... so far I've gotten it to work for a single word. If there are spaces it still acts like there is only one word with the rules (ex: monkey stuff = onkey stuffmay) I know that i have to figure a way to seperate the string up if there is a space and do the rules for pig latin for each word and then make it show up in a message box but I'm stuck... as soon as i can get it to split I have to calculate the number of words starting with a variable and percent of said words and so on which shouldnt be hard with an If Then statement if i can figure out the first part. Any help is appreciated

Dim input As String = "this is a sentence"
Dim words() As String = input.Split(" "c)

For Each word As String In words
   ' do something here
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.