comp.lang.ada
 help / color / mirror / Atom feed
From: "Marius K." <x-mariuk@access.ch>
Subject: Re: Hello
Date: 1997/12/11
Date: 1997-12-11T00:00:00+00:00	[thread overview]
Message-ID: <01bd0647$cc3d0e40$4b4470c3@highlander> (raw)
In-Reply-To: 348C01C8.2598@regiolicht.nl


John!

> I've a small ?:
> "How do I get a single line out of a variant in VB 5.0?)
> 
> F.E.:
> Br = Chr(13) + Chr(10)
> test= "Hello" & Br & "How are you today?" & br & "Fine, Thank you"
> 
> How do I get the 2nd, 3rd or 1st line out of 'test' ?
> 

dim i
i=1
while mid(test,i,1)<> Br
  line1=line1+mid(test,i,1)
  i=i+1
wend

I just wrote this out of my mind and I haven't tested it, but you should
see how it's supposed to work!

Greetings
Marius
<mariusk@access.ch>




  reply	other threads:[~1997-12-11  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-28  0:00 Hello sumi
1997-12-08  0:00 ` Hello John Brookman
1997-12-11  0:00   ` Marius K. [this message]
     [not found] <95okeo$uh$1@saturn.bton.ac.uk>
2001-02-06 12:04 ` hello Dale Stanbrough
  -- strict thread matches above, loose matches on Subject: below --
2001-02-06 10:01 hello am328
2001-02-06 11:23 ` hello Preben Randhol
2001-02-07  9:23 ` hello John English
1999-09-15  0:00 Hello debbie
     [not found] <26029820.4514@mynumber.com>
1998-02-27  0:00 ` hello x
1997-11-24  0:00 hello chrysties
1997-11-24  0:00 hello chrysties
1997-11-05  0:00 hello JLSBlaze22
1997-11-05  0:00 ` hello Robert S. White
1991-05-09 20:12 hello r_seamster
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox