src/com/esotericsoftware/scar/Scar.java
static public String substring (String text, int start, int end) {
		if (text == null) throw new IllegalArgumentException("text cannot be null.");

		if (end >= 0) return text.substring(start, end);
		return text.substring(start, text.length() + end);
	}
/** Returns a substring of the specified text.
	 * @param end The end index of the substring. If negative, the index used will be "text.length() + end". */
Returns a substring of the specified text.
@param end The end index of the substring. If negative, the index used will be "text.length() + end".
Returns a substring of the specified text . @param end The end index of the substring . If negative the index used will be " text . length () + end " .
static public String substring (String text, int start, int end) {
		if (text == null) throw new IllegalArgumentException("text cannot be null.");
		if (end >= 0) return text.substring(start, end);
		return text.substring(start, text.length() + end);
	}
static public String substring ( String text , int start , int end ) { if ( text == null ) throw new IllegalArgumentException ( "text cannot be null." ) ; if ( end >= 0 ) return text . substring ( start , end ) ; return text . substring ( start , text . length ( ) + end ) ; }
Returns a substring of the specified text.
Returns a substring of the specified text .