>Yes, be prepared for the fact that not all foreign languages will >support the concept of spaces between words. I don't know anything about
>Japanese, but I do vaguely remember from high school that, for Chinese >texts, there are often no spaces between words and the reader's >knowledge of the language allows him or her to infer the word separations. So the chinese might have a sentence like: thequickbrownfoxjumpedoverthefence and it's up to you, the reader, to figure out where the spaces are? >However, even without knowing Japanese, we might be able to help you >find acceptable solutions. What is your program supposed to do? Well, for phonetic, character based langauges it's trying to do something like: while($string=~/(\w+)/g) { push @array, $1; } would be a great start. Similarly I guess @array=~split /\W/, $string would be close. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/