Case
Developer: Jim Bauer
You can view Version one now, use the Original Format link at the bottom for a direct download.
Description of Module
Case.jsl is a code module designed to enhance string replacement.
The main interface (selectCase) takes 3 parameters:
1. The initial string to be processed.
2. The subString to evaluate for cases.
3. A list of cases.
So, in the string, "Last Oct, we learned about the oct number system." the first instance of "oct" could become October, and the second could be replaced with Octal.
An example is given in the module, complete with a call to selectCase, so one isn't given here at present.
If enough people ask, though, I'll be happy to accommodate.
Enjoy as always.
Cheers, Jim
Web Site:
"http://jbauer.port5.com/
Any problems with this script should be addressed through the New ticket system choosing the component as "Strings".