wordStartsWithValue = function (sText, sValue) {
		var index;

		if (typeof sText !== "string" || typeof sValue !== "string") {
			return false;
		}

		if (sValue === "") {
			return true;
		}

		while (sText) {
			if (sText.toLowerCase().indexOf(sValue.toLowerCase()) === 0 /* startsWith */) {
				return true;
			}

			index = sText.indexOf(' ');
			if (index === -1) {
				break;
			}

			sText = sText.substring(index + 1);
		}

		return false;
	}
Returns true if some word from the text starts with specific value.

@param {string} sText The text of the word.
@param {string} sValue The value which must be compared to the word.
@returns {boolean} Indication if the word starts with the passed value.