question: public static String [ ] splitStringIntoArray ( String value ) { String [ ] values = new String [ 0 ] ; if ( value != null && value . length ( ) > 0 ) { if ( value . indexOf ( CIMConstants . COMMA_SEPERATOR ) != - 1 ) { values = value . split ( "," ) ; } else { values = new String [ 1 ] ; values [ 0 ] = value ; } } return values ; }
target:  This Method will help you to split the String separated with comma into a String Array