Hi, as I understood there is a operator() in TString defined as TSubString operator()(Ssiz_t start, Ssiz_t len) So I tried the following: > TString test("This is only a test!"); > TSubString stest = test(5,2); I expected stest.Data() to be "is", but > stest.Data() (char* 0x8593f49)"is only a test!"); is something I don't understand. I also tried to use TSubString operator()(const TRegexp& re) in the same way and the result was much the same. Is this the right behaviour of these functions? Best regards, Volker -- Volker Hejny Tel: 02461/616853 ** Institut f. Kernphysik Fax: 02461/613930 ** ---------------------------------------------------------------- ** ** --- Forschungszentrum Juelich GmbH, D-52425 Juelich **
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:41 MET