Java Data Type Tutorial - String Example








Field

  1. Java String CASE_INSENSITIVE_ORDER

Constructor

  1. Java String() Constructor
  2. Java String(byte[] bytes) Constructor
  3. Java String(byte[] bytes, Charset charset) Constructor
  4. Java String(byte[] ascii, int hibyte) Constructor
  5. Java String(byte[] bytes, int offset, int length) Constructor
  6. Java String(byte[] bytes, int offset, int length, Charset charset) Constructor
  7. Java String(byte[] ascii, int hibyte, int offset, int count) Constructor
  8. Java String(byte[] bytes, int offset, int length, String charsetName) Constructor
  9. Java String(byte[] bytes, String charsetName) Constructor
  10. Java String(char[] value) Constructor
  11. Java String(char[] value, int offset, int count) Constructor
  12. Java String(int[] codePoints, int offset, int count) Constructor
  13. Java String(String original) Constructor
  14. Java String(StringBuffer buffer) Constructor
  15. Java String(StringBuilder builder) Constructor




Method

  1. Java String.charAt(int index)
  2. Java String.codePointAt(int index)
  3. Java String.codePointBefore(int index)
  4. Java String.codePointCount(int beginIndex, int endIndex)
  5. Java String.compareTo(String anotherString)
  6. Java String .compareToIgnoreCase ( String str)
  7. Java String.concat(String str)
  8. Java String.contains(CharSequence s)
  9. Java String .contentEquals ( CharSequence cs)
  10. Java String .contentEquals ( StringBuffer sb)
  11. Java String.copyValueOf(char[] data)
  12. Java String.copyValueOf(char[] data, int offset, int count)
  13. Java String.endsWith(String suffix)
  14. Java String.equals(Object anObject)
  15. Java String .equalsIgnoreCase ( String anotherString)
  16. Java String.format(Locale l, String format, Object ... args)
  17. Java String.format(String format, Object ... args)
  18. Java String.getBytes()
  19. Java String.getBytes(Charset charset)
  20. Java String.getBytes(int srcBegin, int srcEnd, byte[] dst, int dstBegin)
  21. Java String.getBytes(String charsetName)
  22. Java String.getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
  23. Java String.hashCode()
  24. Java String.indexOf(int ch)
  25. Java String.indexOf(int ch, int fromIndex)
  26. Java String.indexOf(String str)
  27. Java String.indexOf(String str, int fromIndex)
  28. Java String.intern()
  29. Java String.lastIndexOf(int ch)
  30. Java String.lastIndexOf(int ch, int fromIndex)
  31. Java String.lastIndexOf(String str)
  32. Java String.lastIndexOf(String str, int fromIndex)
  33. Java String.length()
  34. Java String.matches(String regex)
  35. Java String.offsetByCodePoints(int index, int codePointOffset)
  36. Java String.regionMatches(boolean ignoreCase, int toffset, String other, int ooffset, int len)
  37. Java String.regionMatches(int toffset, String other, int ooffset, int len)
  38. Java String.replace(CharSequence target, CharSequence replacement)
  39. Java String.replaceAll(String regex, String replacement)
  40. Java String.replaceFirst(String regex, String replacement)
  41. Java String.split(String regex)
  42. Java String.split(String regex, int limit)
  43. Java String.startsWith(String prefix)
  44. Java String.startsWith(String prefix, int toffset)
  45. Java String.subSequence(int beginIndex, int endIndex)
  46. Java String.substring(int beginIndex)
  47. Java String.substring(int beginIndex, int endIndex)
  48. Java String.toCharArray()
  49. Java String.toLowerCase()
  50. Java String.toLowerCase(Locale locale)
  51. Java String.toString()
  52. Java String.toUpperCase()
  53. Java String.toUpperCase(Locale locale)
  54. Java String.trim()
  55. Java String.valueOf(boolean b)
  56. Java String.valueOf(char c)
  57. Java String.valueOf(char[] data)
  58. Java String.valueOf(char[] data, int offset, int count)
  59. Java String.valueOf(double d)
  60. Java String.valueOf(float f)
  61. Java String.valueOf(int i)
  62. Java String.valueOf(long l)
  63. Java String.valueOf(Object obj)