How to convert a string to TString?

Hi experts,
I have a string string line="process";
I wanna use the method BeginsWith() of the class TString, so I wanna convert it into TString type. May I ask how to convert string to TString.

TString l(line);

The button holds a multi line format, reason for the Tlist, im wondering if there is an easier way to convert the string to a Tstring so.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.