Link to home
Start Free TrialLog in
Avatar of steven
stevenFlag for United States of America

asked on

Substing data

We are trying to pull the number 1 from the below string.  To be sure its the number 1 located after the third LIT~(  
This value will always be after the third LIT~( string.  We were trying to use the charindex but couldn't get it to work.

~LIT~(sp00000009),~LIT~(),~LIT~(1),~LIT~(195)

Thanks we are using sql 2000.
ASKER CERTIFIED SOLUTION
Avatar of Pavel Celba
Pavel Celba
Flag of Czechia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of steven

ASKER

Thank you very much for the help works excellent!