On Sun, 2006-09-24 at 15:17 -0700, jsingh wrote: > am new to velocity - what I want to do is if I have a template like > Hello $Name > and a string like "Hello World" > I should be able to do something like this > context.get("name") - Now this should return "world" > I dont know if this is even possible. Should I be looking at Freemaker too. > > I need this for a screen scraping solution.
Velocity does not do this. The best way to do this is to use a Regex parser. You give it a expression and it will extract the information you need. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]