Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Replies
    5
    Views
    1,310

    Re: How to read a string into an array?

    An easy way to see array contents:

    System.out.println("an ID "+ java.util.Arrays.toString(theArrayName));
  2. Replies
    5
    Views
    1,310

    Re: How to read a string into an array?

    There are lots of tutorials on how to write regular expressions. Follow the links in the String class's API doc
    and ask google.


    The API doc shows that the arg to the split method is a String...
  3. Replies
    5
    Views
    1,310

    Re: How to read a string into an array?

    The are many examples given in the API doc for the split() method that use simple Strings.
    Look at some of them and see if the String you want to split has anything like what the examples show.
    ...
  4. Replies
    5
    Views
    1,310

    Re: How to read a string into an array?

    split() is a String method. It is used in lots of code posted on the forum. Do a search for some examples.
  5. Replies
    5
    Views
    1,310

    Re: How to read a string into an array?

    Look at the split() method.
Results 1 to 5 of 5