Qt-interest Archive, January 2007
[Qt 4.2.0] case transform
Message 1 in thread
Hi there,
is there in Qt a method that permit to put a string in capital lellters.
Example :
"I want CaPiTaL" ---> "I WANT CAPITAL"
Thanks for your help
Cheers
Nil
_________________________________________________________________
Ten : Messenger en illimité sur votre mobile !
http://mobile.live.fr/messenger/ten/
--
[ signature omitted ]
Message 2 in thread
On 23.01.07 02:08:35, nilitonilito nilitonilito wrote:
> is there in Qt a method that permit to put a string in capital lellters.
See doc.trolltech.com/4.2/qstring.html
Andreas
--
[ signature omitted ]
Message 3 in thread
Hi Andreas,
thanks for the advice, indeed there is a build-in method called toUpper.
Cheers
Nil
>From: Andreas Pakulat <apaku@xxxxxx>
>To: qt-interest@xxxxxxxxxxxxx
>Subject: Re: [Qt 4.2.0] case transform
>Date: Tue, 23 Jan 2007 02:15:53 +0100
>
>On 23.01.07 02:08:35, nilitonilito nilitonilito wrote:
> > is there in Qt a method that permit to put a string in capital lellters.
>
>See doc.trolltech.com/4.2/qstring.html
>
>Andreas
>
>--
>Your lucky color has faded.
>
>--
>To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
>"unsubscribe" in the subject or the body.
>List archive and information: http://lists.trolltech.com/qt-interest/
>
_________________________________________________________________
Windows Live Spaces : créez votre blog à votre image !
http://www.windowslive.fr/spaces
--
[ signature omitted ]
Message 4 in thread
Hi there,
I would like to select a sub string between 2 positions, the closest method
I found is section but it does something much more sofisticated that what I
need.
here is an example of what I want, let's call the method I want substring :
substring("Hello", 1, 3) ---> "ell"
very simple but I can't find it!!!
Thanks for your help
Cheers,
Nil
_________________________________________________________________
Avec Windows Live OneCare éliminez tous les virus de votre PC !
http://www.windowslive.fr/liveonecare/default.asp
--
[ signature omitted ]
Message 5 in thread
QString::mid ( int position, int n = -1 )
Malte
"nilitonilito nilitonilito" <nilitonilito@xxxxxxxxxxx> schrieb am
23.01.2007 14:39:48:
> Hi there,
>
> I would like to select a sub string between 2 positions, the closest
method
> I found is section but it does something much more sofisticated that
what I
> need.
>
> here is an example of what I want, let's call the method I want
substring :
>
> substring("Hello", 1, 3) ---> "ell"
>
> very simple but I can't find it!!!
>
> Thanks for your help
> Cheers,
> Nil
>
> _________________________________________________________________
> Avec Windows Live OneCare éliminez tous les virus de votre PC !
> http://www.windowslive.fr/liveonecare/default.asp
>
> --
>
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
> with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
--
[ signature omitted ]
Message 6 in thread
Thank you so much, I was starting to become mad. mid... not a very evocative
name.
Nil
>From: Malte Witt <malte.witt@xxxxxxxxxxxxx>
>To: qt-interest@xxxxxxxxxxxxx
>Subject: Re: [Qt 4.2.0] QString section
>Date: Tue, 23 Jan 2007 14:43:00 +0100
>
>QString::mid ( int position, int n = -1 )
>
>Malte
>
>
>
>"nilitonilito nilitonilito" <nilitonilito@xxxxxxxxxxx> schrieb am
>23.01.2007 14:39:48:
>
> > Hi there,
> >
> > I would like to select a sub string between 2 positions, the closest
>method
> > I found is section but it does something much more sofisticated that
>what I
> > need.
> >
> > here is an example of what I want, let's call the method I want
>substring :
> >
> > substring("Hello", 1, 3) ---> "ell"
> >
> > very simple but I can't find it!!!
> >
> > Thanks for your help
> > Cheers,
> > Nil
> >
> > _________________________________________________________________
> > Avec Windows Live OneCare éliminez tous les virus de votre PC !
> > http://www.windowslive.fr/liveonecare/default.asp
> >
> > --
> >
> > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
> > with "unsubscribe" in the subject or the body.
> > List archive and information: http://lists.trolltech.com/qt-interest/
> >
>
>--
>To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
>"unsubscribe" in the subject or the body.
>List archive and information: http://lists.trolltech.com/qt-interest/
>
_________________________________________________________________
Windows Live Messenger sur i-mode? : dialoguez avec vos amis depuis votre
mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/
--
[ signature omitted ]
Message 7 in thread
nilitonilito nilitonilito schrieb:
> Thank you so much, I was starting to become mad. mid... not a very
> evocative name.
It is if you've worked with a couple of other languages: left(), mid(),
right() is somewhat of a trinity for string slicing... BTW, the second
is linked from the two others in the QString docs...
> Nil
That's NULL in C++...
SCNR ;-))
Martin
--
[ signature omitted ]
Message 8 in thread
>>Nil
>
>That's NULL in C++...
>SCNR ;-))
Sorry I thought we were coding in Pascal...
Nil
>Martin
>
>--
>To mail me in private, please remove the -NOSPAM- part from the adress
>above.
>
>Ultimate Truths in software development # 3:
>PEBKAC
>
>--
>To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
>"unsubscribe" in the subject or the body.
>List archive and information: http://lists.trolltech.com/qt-interest/
>
_________________________________________________________________
Gagnez des écrans plats avec Live.com http://www.image-addict.fr/
--
[ signature omitted ]
Message 9 in thread
FYI... the "mid" name makes sense in some docs out there, when the group, Left, Right, and Mid together.
Scott
> -----Original Message-----
> From: nilitonilito nilitonilito [mailto:nilitonilito@xxxxxxxxxxx]
> Sent: Tuesday, January 23, 2007 6:02 AM
> To: qt-interest@xxxxxxxxxxxxx
> Subject: Re: [Qt 4.2.0] QString section
>
> Thank you so much, I was starting to become mad. mid... not a very
> evocative
> name.
> Nil
>
>
> >From: Malte Witt <malte.witt@xxxxxxxxxxxxx>
> >To: qt-interest@xxxxxxxxxxxxx
> >Subject: Re: [Qt 4.2.0] QString section
> >Date: Tue, 23 Jan 2007 14:43:00 +0100
> >
> >QString::mid ( int position, int n = -1 )
> >
> >Malte
> >
> >
> >
> >"nilitonilito nilitonilito" <nilitonilito@xxxxxxxxxxx> schrieb am
> >23.01.2007 14:39:48:
> >
> > > Hi there,
> > >
> > > I would like to select a sub string between 2 positions, the closest
> >method
> > > I found is section but it does something much more sofisticated that
> >what I
> > > need.
> > >
> > > here is an example of what I want, let's call the method I want
> >substring :
> > >
> > > substring("Hello", 1, 3) ---> "ell"
> > >
> > > very simple but I can't find it!!!
> > >
> > > Thanks for your help
> > > Cheers,
> > > Nil
> > >
> > > _________________________________________________________________
> > > Avec Windows Live OneCare éliminez tous les virus de votre PC !
> > > http://www.windowslive.fr/liveonecare/default.asp
> > >
> > > --
> > >
> > > To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx
> > > with "unsubscribe" in the subject or the body.
> > > List archive and information: http://lists.trolltech.com/qt-interest/
> > >
> >
> >--
> >To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> >"unsubscribe" in the subject or the body.
> >List archive and information: http://lists.trolltech.com/qt-interest/
> >
>
> _________________________________________________________________
> Windows Live Messenger sur i-mode(tm) : dialoguez avec vos amis depuis votre
> mobile comme sur PC ! http://mobile.live.fr/messenger/bouygues/
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
--
[ signature omitted ]