Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    /**
     * Splits a string into an array of strings by commas
     * @param str
     * @return
     */
    public static String[] toStringList(String str) {
        return str.split(",");
    }
}