Click here to Skip to main content
13,249,315 members (37,448 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted 3 Sep 2012

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
2 - publicly available No 3-Sep-12 3:21 Available Rahul Rajat Singh
Updates in content.
1 No 3-Sep-12 2: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

You may also be interested in...

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