forum

Home / DeveloperSection / Forums / Remove all after certain character

Remove all after certain character

Anonymous User192814-Feb-2013

Hi Everyone!

I have got a C# project and some data like:

Thinness (n.)
Slenderness (n.)
A fat lot
Hefty (a.)
Tucking of loincloth
I want these data just like that below

Thinness
Slenderness
A fat lot
Hefty
Tucking of loincloth
I tried

UPDATE    dic
SET  english = LEFT(english, CHARINDEX('(', english) - 1)
WHERE  (CHARINDEX('(', english) > 0)
But I get error:

Token in error LEFT

How can I handle that?

Thanks in advance


Updated on 16-Feb-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By