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
 Development Tools
 Other Development Tools
 substring issue

Author  Topic 

shajimanjeri
Posting Yak Master

179 Posts

Posted - 2008-07-15 : 09:19:12

I am searching one function in classical ASP to get whether a string contains a special character or not?
For example:-
I have a string
string = "100000"
I need to check whether this string contains the character 1 or not?
here the string is a variable.
Means it may be "000100" or etc

Anybody can help me to solve this issue!

Shaji

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-07-15 : 09:21:40
If you use ASP, make use of instr function

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -