Java java.lang String Substring

Java examples for java.lang:String Substring

Description

Click the following links for the tutorial for java.lang and String Substring.

  1. Get String substring
  2. Get string's substring Before Last
  3. Splits a String into substrings along the provided char delimiter and returns the result as a List of Substrings.
  4. Splits a String into substrings along the provided paramDelim</code> delimiter
  5. remove subString from a String in the middle
  6. Counts how many times the substring appears in the larger String.
  7. Find the latest index of any of a set of potential substrings. A null String will return -1.
  8. Removes a substring only if it is at the end of a source string, otherwise returns the source string. A null source string will return null.


  9. Case insensitive removal of a substring if it is at the end of a source string, otherwise returns the source string. A null source string will return null.
  10. Removes all occurrences of a substring from within the source string. A null source string will return null.
  11. Removes a substring only if it is at the beginning of a source string, otherwise returns the source string.
  12. Case insensitive removal of a substring if it is at the beginning of a source string, otherwise returns the source string.
  13. Gets the substring after the first occurrence of a separator.
  14. Gets the substring after the last occurrence of a separator.
  15. Gets the substring before the first occurrence of a separator.
  16. Gets the substring before the last occurrence of a separator.


  17. Gets a substring from the specified String avoiding exceptions. A negative start position can be used to start n characters from the end of the String. A null String will return null.
  18. Searches a String for substrings delimited by a start and end tag, returning all matching substrings in an array. A null input String returns null.
  19. Get left Most substring by count
  20. get Substring After
  21. If the string is longer than 79 characters, split it up by adding newlines in all newline delimited substrings that are longer than 79 characters.
  22. same as String.substring, except that this version handles the case robustly when the index is out of bounds.
  23. Replace occurrences of a substring.
  24. Get substring from right
  25. Returns a substring until the first carriage return and/or line feed.
  26. Do substring and handle null value
  27. Check whether any substring of the input string matches any of the group of given regex expressions Currently only used in header row processing in StudentAttributesFactory: locateColumnIndexes Case Insensitive
  28. get substring Count
  29. Get substring After Last separator
  30. Get substring Before Last separator
  31. Get substring After separator
  32. Get substring Before separator
  33. Get substring Between separator
  34. Get array of substrings Between separators
  35. Get substring for GBK String
  36. Get last Index Of a substring and handle null value
  37. Get substring Between open and close tag
  38. get Sub String and handle null value
  39. Get right Most sub string by count
  40. Get first name from name
  41. Get last name from Name
  42. get After Separator Or All
  43. get After Separator Or Nothing
  44. Gets len characters from the middle of a String. If len characters are not available, the remainder of the String will be returned without an exception.
  45. Returns only the pattern portion of fullString, or the entire String if the pattern was not found.
  46. count Occurrences of sub string in a string
  47. get All Possible Substring Combinations
  48. longest Substr
  49. Returns a substring of the given string which represents the words around the given word.
  50. Returns the substring after the first occurrence of a delimiter.
  51. Returns the substring before the first occurrence of a delimiter.