import java.util.*; public class sonadeks{ static String[] sonadeks(String s){ String sona=""; Vector lsahver=new Vector(); StringTokenizer st=new StringTokenizer(s, " ", true); sona=st.nextToken(); while(st.hasMoreTokens()){ String uus=st.nextToken(); // char c=uus.trim().charAt(0); if ((uus.length()==0)|(uus.length()==1)){ sona+=uus; } else{ lsahver.addElement(sona); sona=uus; } } lsahver.addElement(sona); String[] sonad=new String[lsahver.size()]; for(int i=0; i