[stringtemplate-interest] Order of Attributes
Rabea Gransberger
rgransberger at gmx.de
Sat Feb 23 04:29:54 PST 2008
Hello,
is there any way to question the Order of attributes in a StringTemplate?
I'd like to have some internationalization and have some properties
files with entries like:
plus=$right$ + $left§
I take the String for plus and make a StringTemplate out of it, and then
I'd like to know if $right§ occurs first in the template or $left$.
Right now I determine if by myself by using indexOf on the String, but
that's not the best solution because I may get the index of an similar
String which is not an attribute of the template.
Greetings,
Rabea
More information about the stringtemplate-interest
mailing list