thanks Ewok, that works too...
#rereplace(tempvar, "\[([a-zA-Z])", "[\u\1", "ALL")#
Regards
Mark H
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Matthew,
I've modified your script a little but it's working for all I need...thanks!
Regards
Mark H
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Try this out. I didnt change the function. I just added a regex on output
to cap any letter following an open bracket [
#rereplace(tempvar, "\[([a-zA-Z])", "[\u\1", "ALL")#
I guess if you really wanted to, you could put the regex in the finction.
---
Incoming mail is certified Virus
result, "\b(The|A|An)\b", "\L\1", "all");
result = reReplace(result, "(^|\()(\w)", "\1\U\2", "all");
return result;
}
_
From: Mark Henderson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 6 October 2004 11:27 a.m.
To: CF-Talk
Subje
've been using CapFirstTitle from cflib for some time now and it works great. On this occasion however I need to make a modification and have it also capitalising the first letter after an open bracket, which currently it does not do...Here's the script
function capFirstTitle(i
5 matches
Mail list logo