Java String Starts Wtih startsWith(String self, String pattern)

Here you can find the source of startsWith(String self, String pattern)

Description

starts With

License

Apache License

Declaration

public static Boolean startsWith(String self, String pattern) 

Method Source Code

//package com.java2s;
// Licensed under the Apache License, Version 2.0 (the "License");

public class Main {
    public static Boolean startsWith(String self, String pattern,
            Integer index) {// ww w.  j av a  2s  . co m
        return self.startsWith(pattern, index);
    }

    public static Boolean startsWith(String self, String pattern) {
        return startsWith(self, pattern, 0);
    }
}

Related

  1. startsWith(String s, String prefix)
  2. startsWith(String s, String prefix)
  3. startsWith(String s, String start)
  4. startsWith(String s, String start)
  5. startsWith(String s1, String s2)
  6. startsWith(String source, String target, boolean caseSensitive)
  7. startsWith(String str, char c)
  8. startsWith(String str, char prefix)
  9. startsWith(String str, char prefix)