Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Go to top

how to find string before a particular character in c#

, 3 Sep 2012
try this:string part=Mystring.SubString(0,Mystring.IndexOf(','));

Revisions


  

Compare Revision Minor Date Status Editor
publicly available No 3-Sep-12 8:21 Available Rahul Rajat Singh
Updates in content.
1 No 3-Sep-12 7:47 Available VIPINVIVEK

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

VIPINVIVEK

United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web02 | 2.8.140921.1 | Last Updated 3 Sep 2012
Article Copyright 2012 by VIPINVIVEK
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid