Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

import java.util.regex.Pattern;

public class Main {
    public static void main(String[] args) {
        String str = "XML,CSS,HTML";
        Pattern.compile(",").splitAsStream(str).forEach(System.out::println);

    }
}