3
Answers

string calculation

Photo of Nagendra Panyam

Nagendra Panyam

6y
615
1
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)