Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.visual-basic > #19723

Re: Estrazione dati da stringa

X-Received by 2002:ad4:5401:: with SMTP id f1mr3239111qvt.209.1583940584284; Wed, 11 Mar 2020 08:29:44 -0700 (PDT)
X-Received by 2002:ae9:e003:: with SMTP id m3mr3402460qkk.250.1583940584016; Wed, 11 Mar 2020 08:29:44 -0700 (PDT)
Path csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups it.comp.lang.visual-basic
Date Wed, 11 Mar 2020 08:29:43 -0700 (PDT)
In-Reply-To <1qdr0020krx8b.hi9728iuza7z$.dlg@40tude.net>
Complaints-To groups-abuse@google.com
Injection-Info google-groups.googlegroups.com; posting-host=213.215.169.20; posting-account=yvxj_woAAABxrxq8XihQzP-tWUWpycQc
NNTP-Posting-Host 213.215.169.20
References <ec1ed8f7-b78a-4033-9026-c9307a18cf3e@googlegroups.com> <r4ar1r$60k$1@gioia.aioe.org> <addf4cf7-db26-4009-9527-9e3f3a57b209@googlegroups.com> <1qdr0020krx8b.hi9728iuza7z$.dlg@40tude.net>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <d94a6772-e7e9-4a02-943d-89d8bdb9773e@googlegroups.com> (permalink)
Subject Re: Estrazione dati da stringa
From Marco75 <marcoporzi75@gmail.com>
Injection-Date Wed, 11 Mar 2020 15:29:44 +0000
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Lines 27
Xref csiph.com it.comp.lang.visual-basic:19723

Show key headers only | View raw


Il giorno mercoledì 11 marzo 2020 15:57:29 UTC+1, Andrea (Work) ha scritto:
> Il Wed, 11 Mar 2020 07:09:14 -0700 (PDT), Marco75 ha scritto:
> 
> > Ciao,
> > A č una variabile stringa?
> > 
> > io stavo procedendo cosě..
> > Dim Macina As String = LbUltimeRicette.SelectedItem.ToString
> > LabelMac.Text = Macina.Substring(0, 2)
> > 
> > per gli altri 2 campi ci stavo lavorando.
> > il tuo codice sembra molto semplice e snello ma non capisco come assegnare A()
> 
> 	Dim testo as string="13-LINEA-AMM ROSSA"
>         Dim vett = testo.Split("-"c)
>         Dim a = vett(0)
>         Dim b = vett(1)
>         Dim c = vett(2)
> 
> vett č un array di stringhe, se i - sono variabili devi controllare
> GetUpperBound.

perfetto, ora funziona tutto... avevo commesso un errore nel prelevare la stringa iniziale da leggere e dividere
grazie
Marco

Back to it.comp.lang.visual-basic | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Estrazione dati da stringa Marco75 <marcoporzi75@gmail.com> - 2020-03-11 01:58 -0700
  Re: Estrazione dati da stringa gio <pictures.ww@gmail.com> - 2020-03-11 15:02 +0100
    Re: Estrazione dati da stringa Marco75 <marcoporzi75@gmail.com> - 2020-03-11 07:09 -0700
      Re: Estrazione dati da stringa "Andrea (Work)" <andrea.isworkDELETEME@gmail.invalid> - 2020-03-11 15:57 +0100
        Re: Estrazione dati da stringa Marco75 <marcoporzi75@gmail.com> - 2020-03-11 08:29 -0700
      Re: Estrazione dati da stringa "Andrea (Work)" <andrea.isworkDELETEME@gmail.invalid> - 2020-03-11 16:04 +0100

csiph-web