RE: Capitalising first letter after an open bracket

2004-10-05 Thread Mark Henderson
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]

RE: Capitalising first letter after an open bracket

2004-10-05 Thread Mark Henderson
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]

RE: Capitalising first letter after an open bracket

2004-10-05 Thread Ewok
Try this out. I didn’t 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

RE: Capitalising first letter after an open bracket

2004-10-05 Thread Matthew Walker
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

Capitalising first letter after an open bracket

2004-10-05 Thread Mark Henderson
'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