What is the difference between String.subString() and String.subSequence()
Using str.subSequence(begin, end) returns a CharSequence which is a read-only form of the string represented as a sequence of chars. For example: String string = “Hello”; CharSequence … Read more