public/ckeditor/4.4dev/core/dom/text.js
function( indexA, indexB ) {
		// We need the following check due to a Firefox bug
		// https://bugzilla.mozilla.org/show_bug.cgi?id=458886
		if ( typeof indexB != 'number' )
			return this.$.nodeValue.substr( indexA );
		else
			return this.$.nodeValue.substring( indexA, indexB );
	}
function( indexA, indexB ) {
		// We need the following check due to a Firefox bug
		// https://bugzilla.mozilla.org/show_bug.cgi?id=458886
		if ( typeof indexB != 'number' )
			return this.$.nodeValue.substr( indexA );
		else
			return this.$.nodeValue.substring( indexA, indexB );
	}
function ( indexA , indexB ) { // We need the following check due to a Firefox bug // https://bugzilla.mozilla.org/show_bug.cgi?id=458886 if ( typeof indexB != 'number' ) return this . $ . nodeValue . substr ( indexA ) ; else return this . $ . nodeValue . substring ( indexA , indexB ) ; }
Extracts characters from indexA up to but not including `indexB`.

@param {Number} indexA An integer between `0` and one less than the
length of the text.
@param {Number} [indexB] An integer between `0` and the length of the
string. If omitted, extracts characters to the end of the text.
Extracts characters from indexA up to but not including indexB .