commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Watkin <james.wat...@anderson.ucla.edu>
Subject [StrSubstitutor] Can StrSubstitutor be used without a prefix or suffix?
Date Mon, 10 Sep 2007 02:45:38 GMT
I'd like to use org.apache.commons.lang.text.StrSubstitutor without a 
suffix requirement for the replacement targets, but it doesn't seem to 
support that. Is that correct?

Although the doc for org.apache.commons.lang.text.StrSubstitutor 
disallows a null prefix or suffix in the constructor, it doesn't mention 
the empty string. I tried the empty string for the prefix and suffix but 
that didn't work.

- Jim
______________________________
James Watkin
ACIS Software Development
UCLA Anderson School
james.watkin@anderson.ucla.edu
Voice: 1-310-825-5030
   Fax: 1-310-825-4835
______________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message