Substring Example in .Net

on Jan 29, 2019 12:26 AM

WHy programer was placed the length of SubString upto 10 in the below link's reply - 

Generate Alphanumeric UniqueId based on Windows Form ComboBox using C# and VB.Net

Remark -  

i = i.Substring(10);


Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Jan 29, 2019 12:32 AM

Hi AnkitPal,

You are generating 16 digit unique number.

From that unique number to get the sequence number for automatically increment Substring is used.

The substring starts at a specified character position mentioned and continues to the end of the string.

For more details on Substring Method refer below link.