Click here to Skip to main content
11,715,022 members (67,595 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 0
try this:string part=Mystring.SubString(0,Mystring.IndexOf(','));



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


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


About the Author

United States United States
No Biography provided

You may also be interested in...

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