Home > Archive > Visual Basic Syntax > February 2005 > Fixed size string
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hello,
In Delphi you can do this : String[5]
Witch means the string is max 5 Char
How do you do this in VB?
Thanks,
Christophe
| |
| Jan Hyde 2005-02-03, 4:02 pm |
| "cvh" <Chris@nomail.com>'s wild thoughts were released on
Thu, 3 Feb 2005 13:32:23 +0100 bearing the following fruit:
>Hello,
>
>In Delphi you can do this : String[5]
>
>Witch means the string is max 5 Char
>
>How do you do this in VB?
>
Dim strTest As String * 5
Jan Hyde (VB MVP)
--
Once upon a time Old King Cole issued an order to his cooks. "From now
on," he decreed, "chopped cabbage must be mixed with mayonnaise." To
this day his decree is known as Cole's Law. (Gary Hallock)
[Abolish the TV Licence - http://www.tvlicensing.biz/]
| |
|
| Thanks Jan
"Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.com> wrote in message
news:7l8401dkc1a8ne2h844dg68n2ir9i1j5ab@
4ax.com...
> "cvh" <Chris@nomail.com>'s wild thoughts were released on
> Thu, 3 Feb 2005 13:32:23 +0100 bearing the following fruit:
>
>
> Dim strTest As String * 5
>
>
>
> Jan Hyde (VB MVP)
>
> --
> Once upon a time Old King Cole issued an order to his cooks. "From now
> on," he decreed, "chopped cabbage must be mixed with mayonnaise." To
> this day his decree is known as Cole's Law. (Gary Hallock)
>
> [Abolish the TV Licence - http://www.tvlicensing.biz/]
>
| |
|
| Jan,
Is it still supported by VB.NET?
"Jan Hyde" <StellaDrinker@REMOVE.ME.uboot.com> wrote in message
news:7l8401dkc1a8ne2h844dg68n2ir9i1j5ab@
4ax.com...
> "cvh" <Chris@nomail.com>'s wild thoughts were released on
> Thu, 3 Feb 2005 13:32:23 +0100 bearing the following fruit:
>
>
> Dim strTest As String * 5
>
>
>
> Jan Hyde (VB MVP)
>
> --
> Once upon a time Old King Cole issued an order to his cooks. "From now
> on," he decreed, "chopped cabbage must be mixed with mayonnaise." To
> this day his decree is known as Cole's Law. (Gary Hallock)
>
> [Abolish the TV Licence - http://www.tvlicensing.biz/]
>
| |
| Jeff Johnson [MVP: VB] 2005-02-03, 4:02 pm |
|
"cvh" <Chris@nomail.com> wrote in message
news:eqR4PgfCFHA.1396@TK2MSFTNGP14.phx.gbl...
> Is it still supported by VB.NET?
Yes, in a roundabout way, but this isn't really the place for such
questions. Try a group with "dotnet" in the name.
|
|
|
|
|