Nagendra Panyam

Nagendra Panyam

  • NA
  • 190
  • 17.7k

string calculation

Mar 10 2019 10:05 PM
i want to calculate the string length ,and store the value in 1 variable,
i had calculte the manually as 16,
but i want to it calculate dynamically which is from drl, 
(source)drl = drl + "-"+driveLetter; 
             string sub = drl.Substring(0,16); 

Answers (3)