getMessageParametersNames

returns the max used parameter index in the string. "-1" if there is no parameter