SHARE
TWEET

Untitled

a guest Apr 9th, 2013 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* 129 */ if(s==null){return 1==0;}s=s.toLowerCase().replaceAll("[^a-z0-9]", "");return s.equals(new StringBuffer(s).reverse().toString());
  2. /* 104 */ s=s.toLowerCase().replaceAll("[^a-z0-9]", "");return s.equals(new StringBuffer(s).reverse().toString());
  3. /* 103 */ s=s.toLowerCase().replaceAll("[^a-z0-9]","");return s.equals(new StringBuffer(s).reverse().toString());
  4. /* 102 */ s=s.replaceAll("[^A-Za-z0-9]","");return s.equalsIgnoreCase(new StringBuffer(s).reverse().toString());
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top