Search:

Type: Posts; User: aussiemcgr

Search: Search took 0.11 seconds.

  1. Replies
    9
    Views
    1,722

    Re: How can i divide a string?

    Ya, but you dont need the overhead of creating a StringTokenizer and all sort of crap like that. Plus you can split on things other than spaces. Like you can split on the letter a, or on commas, or...
  2. Replies
    9
    Views
    1,722

    Re: How can i divide a string?

    or you can use the method String.split(" "); to separate by white-spaces. It returns a String[].
Results 1 to 2 of 2