|
-
Feb 7th, 2008, 02:17 PM
#1
Thread Starter
Hyperactive Member
Re: Replacing Left of a character
I need everything to the left of the forward slash and the slash it self. I will not rule out the the string may be TAG/ 123AB23 or TAG/ WE4051 or AB422/ 1234567890
If you find information helpful from any member, please take a second and rate their post. Its a nice gesture of your appreciation.
"I have not failed 10,000 times. I have successfully identified 10,000 ways that will not work" Thomas Edison
Do illiterate people get the full effect of Alphabet Soup?
ADO FAQ 2005-2008 Masked Textbox Patch FoxPro Date MZ Tools Great Free Tool
-
Feb 7th, 2008, 02:45 PM
#2
Re: Replacing Left of a character
You are contradicting yourself, in the first post you said you need the numbers, now you say you want everything to the left of slash....
But I think you mean everything AFTER the slash ? right ?
Something like this maybe ?
sql Code:
SELECT LTRIM(SUBSTRING('AB422/ 1234567890', CHARINDEX('/', 'AB422/ 1234567890') + 1, 1000))
-
Feb 7th, 2008, 03:17 PM
#3
Thread Starter
Hyperactive Member
Re: Replacing Left of a character
That it!!!!!
Thank you!!!!
If you find information helpful from any member, please take a second and rate their post. Its a nice gesture of your appreciation.
"I have not failed 10,000 times. I have successfully identified 10,000 ways that will not work" Thomas Edison
Do illiterate people get the full effect of Alphabet Soup?
ADO FAQ 2005-2008 Masked Textbox Patch FoxPro Date MZ Tools Great Free Tool
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|