Mid is basicly the same as substr...
the first parameter is the starting point, the second is the depth.Code:string str = "hello"; string str2 = str.substr(2,2); //str2 now equals ll
|
Results 1 to 15 of 15
Threaded View
|
Click Here to Expand Forum to Full Width |