954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

detect character input

Erm, how can i actualli detect certain word in a string so that i can accordingly insert them to the separate table in the database? For example:

xxxxxxxAxxxxx,xxxxx,xxxxx,xxxxxx,xxxxxx
xxxxxxxBxxxxx,xxxxx,xxxxx,xxxxxx,xxxxxx
........

xxxxxxAxxxxxx for table A
xxxxxxxBxxxxxx for table B?

thanks

evios
Junior Poster in Training
60 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

Ex :
Adam, ...,....,.... -> Table A

Bingo, ...,....,.... -> Table B

How if column value like this :
Dabo, ...,....,.... -> Table a or b?

Jx_Man
Nearly a Senior Poster
3,329 posts since Nov 2007
Reputation Points: 1,372
Solved Threads: 444
 

i knew what i am doing..onli either A or B within that string...thanks

evios
Junior Poster in Training
60 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

You can find info here:
http://msdn.microsoft.com/en-us/library/k78wd8wc.aspx

Regards
Sunil Punjabi

sierrainfo
Junior Poster
144 posts since May 2008
Reputation Points: 10
Solved Threads: 9
 

solved..thanks mate...

evios
Junior Poster in Training
60 posts since Sep 2007
Reputation Points: 10
Solved Threads: 0
 

You are welcome--Add to My Reputation if you like.. although it does not make a difference to me--it does make a difference to my Profile.

Regards
Sunil Punjabi

sierrainfo
Junior Poster
144 posts since May 2008
Reputation Points: 10
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You