Click here to Skip to main content
11,414,561 members (69,664 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

how to find string before a particular character in c#

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

Revisions


  

Compare Revision Minor Date Status Editor
2 - 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 | Terms of Use | Mobile
Web03 | 2.8.150427.4 | Last Updated 3 Sep 2012
Article Copyright 2012 by VIPINVIVEK
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid