Re: [Interest] documentation for QString::right(int n) confuse

2013-06-03 Thread Constantin Makshin
If 'x' is equal to "Pineapple", then x[0] = 'P' x[1] = 'i' x[2] = 'n' x[3] = 'e' x[4] = 'a' x[5] = 'p' x[6] = 'p' x[7] = 'l' x[8] = 'e' No offence, but I don't understand how the phrase "n rightmost characters" can be confusing to anyone. :-) On Jun 4, 2013 7:39 AM, "Duan,Lin" wrote: > here it

Re: [Interest] documentation for QString::right(int n) confuse

2013-06-03 Thread Scott Aron Bloom
acter, and be pple Scott From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Duan,Lin Sent: Monday, June 3, 2013 8:38 PM To: interest@qt-project.org Subject: [Interest] documentation for QString::right(int

[Interest] documentation for QString::right(int n) confuse

2013-06-03 Thread Duan,Lin
here it says: QString QString::right(int n) const Returns a substring that contains the n rightmost characters of the string. The entire string is returned if n is greater than size