Hello all a quick and simple question: if I have a TString and I want to get the substring starting at index i1 of length len, why doesn't this work ? TString str = "Some sunny day" TSubString sbstr = str(5,5) sbstr.Data()// should give "sunny", but instead I get "sunny day" ??? Where am I going wrong ? Cheers John 3.10/01 RH9 gcc3.2.2 -- John D. Frankland <mailto:frankland@ganil.fr> Beam Coordinator GANIL B.P. 55027 14076 CAEN Cedex 05 *tel:* +33 (0)231454628 *fax:* +33 (0)231454665
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET