Android String Contain contains(String str1, String str2)

Here you can find the source of contains(String str1, String str2)

Description

contains

Declaration

public static boolean contains(String str1, String str2) 

Method Source Code

//package com.java2s;

public class Main {

    public static boolean contains(String str1, String str2) {
        return str1 != null && str1.contains(str2);
    }// ww  w. j  ava  2s  .com
}

Related

  1. checkContainSpace(final String x)
  2. containsCharRef(String s)
  3. contains(final CharSequence seq, final CharSequence searchSeq)
  4. containCount(String str, String searchStr)