getMaxParameterIndex

open override fun getMaxParameterIndex(message: String, locale: Locale): Int

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