Java Array From arrayFromString(String fromString)

Here you can find the source of arrayFromString(String fromString)

Description

array From String

License

LGPL

Declaration

public static String[] arrayFromString(String fromString) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    public static String[] arrayFromString(String fromString) {
        if (fromString == null) {
            return null;
        }/*w  w w. j av a2s .c  om*/

        return fromString.split(";");
    }
}

Related

  1. arrayFromArrayWithLength(final byte[] array, final int length)
  2. arrayFromIndex(double[][] values, int index)
  3. arrayFromList(String aList)
  4. arrayFromString(String s)
  5. arrayFromString(String str)
  6. toArray(boolean[] array)
  7. toArray(CharSequence input)