Results 1 to 2 of 2
- 03-03-2013, 03:54 AM #1
Member
- Join Date
- Mar 2013
- Posts
- 1
- Rep Power
- 0
How to Create a String for each Syllable?
Hi,
I am new to java, and I want to write a program that you write in your full name, and it jumbles it up.
The way it jumbles it up is by taking the first syllable of your first name, and the last syllable of your last name and it then swaps it around.
e.g. Joseph Turner = Snereph Turjo (I know, it's pretty weird, but that's the point!)
So, I know there is a way to detect syllables in a word, but I want to be able to create a string for each syllable. So, the first syllable's string would be something like Syl1, the second
syllable would be Syl2 and so on. And then I would do
System.out.println(Syl4 + Syl2 + " " + Syl3 + Syl1);
And that would work, right?
But how can I create the string for each syllable? Please help!
Thanks,
-SparklyLlama
- 03-03-2013, 05:09 AM #2
Re: How to Create a String for each Syllable?
There is? You'll want to start by defining that process, in small steps a computer can understand.
Also note that according to Java coding conventions, variable names should start with a lowercase letter: Code Conventions for the Java Programming Language: Contents
dbWhy do they call it rush hour when nothing moves? - Robin Williams
Similar Threads
-
How to check duplicate Strings inputted
By javazers in forum New To JavaReplies: 9Last Post: 09-02-2012, 02:30 PM -
Ordering Inputted Java Values
By MichaelSpame in forum New To JavaReplies: 2Last Post: 07-16-2012, 05:05 AM -
Help (Java Eclipse loop using inputted number)
By micolord in forum New To JavaReplies: 12Last Post: 09-11-2011, 01:23 PM -
How can i detect the word in a text editor, when i right click on it ??
By Swoyam in forum AWT / SwingReplies: 1Last Post: 06-27-2011, 06:11 PM -
Help Creating A Graph From Inputted Data
By adlb1300 in forum New To JavaReplies: 6Last Post: 10-28-2007, 04:45 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks