A
Aiden Humphreys
How do I do this
String str =
"Excpetion due to " + reason + " , caused by " + cause;
using Perl like string interploation, like this:
String str =
interpolate("Exception due to $reason , caused by $cause", map);
is there a Perl/Ruby like interploate method in any popular Java API. I saw
mention of one in Commons lang but couldn't find it in the current relase.
Pretty easy to code one, I know, but why reinvent ...
A
String str =
"Excpetion due to " + reason + " , caused by " + cause;
using Perl like string interploation, like this:
String str =
interpolate("Exception due to $reason , caused by $cause", map);
is there a Perl/Ruby like interploate method in any popular Java API. I saw
mention of one in Commons lang but couldn't find it in the current relase.
Pretty easy to code one, I know, but why reinvent ...
A