The text of this article is not in this database — only its details are. Read it on the old site: Substring in C#
23 Comments
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
The text of this article is not in this database — only its details are. Read it on the old site: Substring in C#
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.
Md Masum KaziPosted May 28, 2025, 9:16 AM
Well explained
Aman GuptaPosted Jul 15, 2020, 9:44 PM
Intresting to read and useful.
Christian OforiPosted Jun 12, 2020, 10:25 AM
Nice Article, but how can i store each in a separate string from the loop. string name = "Mahesh Chand"; string book = "C# Programming"; string publisher = "C# Corner"; string year = "2020";
Sanghdeep SanghratnePosted Feb 26, 2020, 12:16 PM
Nice and useful article thanks to share with us
Rushi MehtaPosted Feb 26, 2020, 2:05 AM
Nice Article
Raju PaladiyaPosted Feb 25, 2020, 4:38 PM
Thank you for sharing this
Manoj KallaPosted Jan 6, 2020, 5:08 AM
Good article very helpful
Pankajkumar PatelPosted Aug 16, 2019, 1:01 AM
Nice article
Raju BaladaniyaPosted Dec 10, 2018, 1:44 AM
Good article
Marco Dalla LiberaPosted Sep 22, 2018, 2:12 AM
Many times instead of substring i prefer to use new string (value.Skip (skip) .Take (take) .ToArray ())
Mahesh ChandPosted Sep 16, 2018, 7:30 PM
Article updated
Md. Raskinur RashidPosted Jan 21, 2015, 3:10 AM
Thanks.
Dinesh RainaPosted Jan 17, 2015, 3:24 AM
pls help me, how to get a substring startposition and length from sql server.
Dinesh RainaPosted Jan 17, 2015, 3:23 AM
how to get a substring startposition and lenght from sql server.