// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
import java.util.StringTokenizer;

public class ST {
    public static void main(String[] args) {
        String s = "08/22/05 15:18:47 21.00 0.00 0.00 -0.113 -1861.3 397.7 169.4 38.8 8.7";
        StringTokenizer st = new StringTokenizer(s);
        while(st.hasMoreTokens()) {
            System.out.println(st.nextToken());
        }
        String[] parts = s.split(" ");
        for(int i = 0; i < parts.length; i++) {
            System.out.println(parts[i]);
        }
    }
}
