🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #1567

Re: carattere speciale - principiante

#1567
From: Jeremy
Date: Thu, 08 Apr 2004 09:45
22 lines
1678 bytes
"Rick Hunter" ha scritto:

> In una variabile stringa di un solo carattere, devo immettere il carattere
> speciale virgolette " e non so proprio come farlo dato che
nell'assegnazione
> sono gi� presenti ed il programma da errore.

Risposta:
    strStringa = "TuoTesto""AltroTesto"
    (devi ripetere il carattere " due volte)

> Stesso discorso vale per le condizioni: come faccio a controllare il
> contenuto della stessa stringa con il carattere speciale virgolette " ?

For I = 1 to Len(strStringa)
    if Mid(strStringa, I, 1) = """" then MsgBox "Ci sono le virgolette!"
Next I

> Grazie tante per l' aiuto e l' attenzione

Prego
Technical Details
Message-ID: <c5371f$h4c$1@lacerta.tiscalinet.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!news.mailgate.org!draco.tiscalinet.it!not-for-mail
References: <kAXcc.37421$rM4.1593373@news4.tin.it>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,df68b3072c5e53b3
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2004-04-08 02:45:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!news.mailgate.org!draco.tiscalinet.it!not-for-mail
From: "Jeremy" <r.casarini@tiscali.it>
Newsgroups: free.it.visual-basic
Subject: Re: carattere speciale - principiante
Date: Thu, 8 Apr 2004 11:45:16 +0200
Organization: Tiscali Spa
Lines: 24
Message-ID: <c5371f$h4c$1@lacerta.tiscalinet.it>
References: <kAXcc.37421$rM4.1593373@news4.tin.it>
NNTP-Posting-Host: ppp-82-84-246-35.cust-adsl.tiscali.it
X-Trace: lacerta.tiscalinet.it 1081417583 17548 82.84.246.35 (8 Apr 2004 09:46:23 GMT)
X-Complaints-To: abuse@tiscali.it
NNTP-Posting-Date: 8 Apr 2004 09:46:23 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300