Looking to use a global rewriteuser to fix usernames that contain
singlequotes (') and are too big to be stored in my defined ACCT & RADONLINE
tables.

So far I've got:   rewriteuser s/[']/''/g

This works dandy for the first bit, but my limited knowledge of regular
expressions just falls down when I come to do a LEFT$(u,50)  type string
operation.  Any PERL boffins wanna help me out ?  :)


Would I then be right in declaring 2 rewrites:

rewriteuser s/[']/''/g
rewriteuser <reg exp of doom>


Cheers,
    Carl

--
This e-mail, and any attachment, is confidential.  If you have received it
in error, please delete it from your system, do not use or disclose the
information in any way and notify me immediately.  The contents of this
message may contain personal views which are not the views of UTV unless
specifically stated.


===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to