Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Split a String

Author  Topic 

samamun001
Starting Member

17 Posts

Posted - 2004-12-12 : 00:46:27
Hi,
I have a string Spring2000 and I want to split it that is
I just want Spring.How can i do this plz help me

samamun

Andraax
Aged Yak Warrior

790 Posts

Posted - 2004-12-12 : 05:10:50
Have a look at the substring function in books online. The charindex and patindex functions might also be of interest for you.

/Andraax
Go to Top of Page
   

- Advertisement -