It should be something like this:
To get the first part:
username=substring (emailaddress,1,charindex(
And the piece after the @ sign:
domainname=substring (emailaddress,charindex('@
This is off the top of my head; I'll run a quick test when I have a moment.
Is that enough to get you going?
Main Topics
Browse All Topics





by: sstadPosted on 2009-11-06 at 07:15:25ID: 25759789
You can use the folliwng code
Select allOpen in new window