aspose file tools*
The moose likes Beginning Java and the fly likes morse code converters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "morse code converters" Watch "morse code converters" New topic
Author

morse code converters

Lydia Su
Greenhorn

Joined: Apr 27, 2001
Posts: 13
does anyone know how to read the dots and dashes when you convert morse code into english phrases??? i'm stumped here....i've tried the charAt() methods but i don't think that's right...morse code is made up of about 5 or so dots and dashes....how to read them? and there must be spaces in between too...between every letter is a space, between every word is three spaces...
hope someone can help me...? ^_~
Art Metzer
Ranch Hand

Joined: Oct 31, 2000
Posts: 241
Hmmm...have you tried java.util.StringTokenizer? You may have to modify it, though, to break on words and letters, since I don't think passing three spaces to its constructor will give you the word-splitting behavior you seek.
Art
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: morse code converters
 
Similar Threads
The best puzzle(IIM Indore)
Boone's mock exam Q47
String - Remove dashes from text
converting morse code to english
WA #1.....word association