Article View: free.it.visual-basic
Article #3008Re: Tutorial ordinamento stringhe
From: William
Date: Mon, 09 Dec 2002 15:01
Date: Mon, 09 Dec 2002 15:01
13 lines
1584 bytes
1584 bytes
"Mary" <Mary.Raily@libero.it> ha scritto nel messaggio news:G7OI9.73293$2B1.2021787@twister2.libero.it... > Ho trovato un tutorial che mi ordina alfabeticamente delle stringhe, ma se > gli do dei numeri > 9 ha dei problemi... guardate: > > 1 come nessuno > 10 come i ceci... veramente l'ordinamento cos� � corretto in quanto stai lavorando con delle stringhe: i numeri vengono valutati come stringhe e la stringa "10" � minore della stringa "2" perch� il confronto viene fatto sui caratteri e non sul valore del numero.
Technical Details
Message-ID:
<Hf2J9.74058$3l.2079992@twister1.libero.it>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mailReferences:
<G7OI9.73293$2B1.2021787@twister2.libero.it>Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII X-Google-Thread: f94ee,8ce619c3b4880ce6 X-Google-Attributes: gidf94ee,public X-Google-ArrivalTime: 2002-12-09 07:01:44 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!nntp.infostrada.it!twister1.libero.it.POSTED!not-for-mail From: "William" <willy78NOSPAM@libero.it> Newsgroups: free.it.visual-basic References: <G7OI9.73293$2B1.2021787@twister2.libero.it> Subject: Re: Tutorial ordinamento stringhe Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Message-ID: <Hf2J9.74058$3l.2079992@twister1.libero.it> Date: Mon, 09 Dec 2002 15:01:59 GMT NNTP-Posting-Host: 151.26.181.35 X-Complaints-To: abuse@libero.it X-Trace: twister1.libero.it 1039446119 151.26.181.35 (Mon, 09 Dec 2002 16:01:59 MET) NNTP-Posting-Date: Mon, 09 Dec 2002 16:01:59 MET Organization: [Infostrada]