Hi all, isn't it wiser to include the Velocity Generic Tools (http://velocity.apache.org/tools/releases/1.3/generic/) package instead? It has a good set of features for text formatting, escaping, number handling and list handling.
We're using it, and have only needed a small set of extensions for our specific needs. Best regards, Martin -----Ursprungligt meddelande----- Från: Thomas UNG [mailto:[EMAIL PROTECTED] Skickat: den 4 maj 2007 14:30 Till: Turbine Developers List Ämne: Re: StringTool anyone? oops I ve put the wrong file here is the right one. Anyways, I am more interresting in: /*replace occurence functions such as "hello {1}, bonjour (2)" */ - replace( String text, String with1 ) - replace( String text, String with1, String with2 ) - ... /* convert a latin-X string to ASCII string. e.g. à -> a ... */ - public static String toAlphaNumeric ( String str ) Thomas UNG a écrit : > > Hi Scott, > > > > I am interrested because I ve wrote my own one. I ve put it in the > > attachment. Feel free to pick anything if you thing that it is > > interresting. However, some of them are not optimized. > > > > Kind Regards, > > Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]