Android String to Number Convert containsNonNumericCharacters(String rawInput)

Here you can find the source of containsNonNumericCharacters(String rawInput)

Description

contains Non Numeric Characters

Declaration

public static boolean containsNonNumericCharacters(String rawInput) 

Method Source Code

//package com.java2s;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class Main {
    public static boolean containsNonNumericCharacters(String rawInput) {
        Pattern p = Pattern.compile("(\\D+)");
        Matcher m = p.matcher(rawInput);
        return m.find();
    }/*from ww w  .j a v a  2  s .  co  m*/
}

Related

  1. isNumeric(String str)
  2. isNumeric(String string)
  3. isLetterNumeric(String s)
  4. isNumericOnly(String pString)
  5. isNumeric(String str)
  6. isNumber(String str)
  7. isNumberLetter(String str)
  8. isStringNumber(String number)
  9. isStringNumberLessThan(String number, int compareInt)