Mid is basicly the same as substr...

Code:
string str = "hello";
string str2 = str.substr(2,2); //str2 now equals ll
the first parameter is the starting point, the second is the depth.