C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

How to use substring method


Posted Date: 06 Oct 2008      Posted By: Boipelo       Member Level: Bronze     Points: 1   Responses: 3



How do I substring a value in a combobox using vb.net Windows application.




Responses

Author: divya    06 Oct 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

store the value in combobox in a string .Then use substring for the string.


Author: MANOJ MATHE    06 Oct 2008Member Level: GoldRating: 3 out of 53 out of 53 out of 5     Points: 3

HI,

string example="manoj/dotnetspider";

substring is used to divide the string based upon a character and it returns string array
string[] name=example.substing('/');

and u can see the name in name[0]


check this

Thanks,
Manoj

Regards

Manoj Mathe

"The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. Dr. APJ. Abdul Kalam"

Dont forget to rate the post
Blogs



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : export to excel
Previous : how to show hindi Surya Font on client machine
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use