In Java API methods like:
String.substring(int beginIndex, int endIndex)
String.subSequence(int beginIndex, int endIndex)
In addition to what Bohemian said:
If it were exclusive, to get the first 4 characters in a String, you'd have to:
4
String firstFour = String.substring(0, 3);
That's rather ugly.