Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    /**
     * Kusini Unguja, TZ -> Kusini Unguja (no underscore, like above)
     * @param address
     * @return
     */
    public static String stripCountryFromAddress(String address) {

        return address.split(",")[0];
    }
}