src/org/tiefaces/components/websheet/utility/ParserUtility.java
public static String getStringBetweenBracket(final String newComment) {

		if (newComment == null) {
			return null;
		}
		int elStart = newComment.indexOf(TieConstants.EL_START_BRACKET);
		int elEnd = findPairBracketPosition(newComment, elStart);
		if (elStart >= elEnd) {
			return null;
		}

		return newComment.substring(elStart + 1, elEnd);

	}
public static String getStringBetweenBracket(final String newComment) {

		if (newComment == null) {
			return null;
		}
		int elStart = newComment.indexOf(TieConstants.EL_START_BRACKET);
		int elEnd = findPairBracketPosition(newComment, elStart);
		if (elStart >= elEnd) {
			return null;
		}

		return newComment.substring(elStart + 1, elEnd);

	}
get the string between two bracket. .e.g. $save{employee.name} return
employee.name.

@param newComment the new comment
@return return string.