TString str = "Hello World!";
TString str1 = "Hello"; TString str2 = "World"; TString str3 = str1 + " " + str2; // str3 = "Hello World"
TString str = "Hello World"; TString sub = str.SubString(0, 5); // sub = "Hello"
TString str = "Hello World"; std::string stdStr = str.Data(); // stdStr = "Hello World"In conclusion, TString is a class in the ROOT library which provides additional features to the standard C++ string class. It is used in scientific applications for data analysis.