Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    static public boolean containsStringLowerCase(final String string_1, final String string_2) {
        if ((string_1 != null) && (string_2 != null) && (string_1.length() > 0) && (string_2.length() > 0)) { // mgm 140926
            return (string_1.toLowerCase().indexOf(string_2.toLowerCase()) >= 0);
        }
        return false;

    }
}