-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Pooran-Prasad
Message 3 in Discussion

<LABEL id=HbSession SessionId="1970778077"></LABEL>

Hi 
Balajee,
    
Use the function yourString.IndexOf(substring). This returns 
position greater than 0 if found, which may be not important, but it 
will be an indication that the substring what you are looking for exists in the 
string.  This is equivalent to your instr in 
VB.Net.
    However, I should warn you, 
if you are searching for say 24 and yourString has 124 as a number, you will 
still get the position. You need to handle this again. To solve this, convert 
yourString value from something like 12,23 to #12#23# [Make sure there are no 
spaces and other special charecters] and check for 
yourString.IndexOf("#23#"). Note:This is just a 
workaround.
    Hope that helps
    Have a great day :)


R. Pooran Prasad
Itreya 
Technologies Pvt Ltd.,
Mail: [EMAIL PROTECTED]
Phone(Off) :  
5200179/80/81/82/83 Extn: 42
Mobile:  
+91 98860 29578



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to