Path: csiph.com!news.mixmin.net!aioe.org!BHGTVyTGRwF2ntnqLVfpDg.user.46.165.242.75.POSTED!not-for-mail
From: "R.Wieser"
Newsgroups: microsoft.public.scripting.vbscript
Subject: Re: Access the 3rd and rest elements of a Byte() (byte array)?
Date: Fri, 11 Mar 2022 13:14:06 +0100
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID:
References: <7ikpiwc1wlb3.1jl0fbkule7nk$.dlg@40tude.net>
Injection-Info: gioia.aioe.org; logging-data="16215"; posting-host="BHGTVyTGRwF2ntnqLVfpDg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-Notice: Filtered by postfilter v. 0.9.2
X-Priority: 3
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MSMail-Priority: Normal
Xref: csiph.com microsoft.public.scripting.vbscript:12437
Ulrich,
>> | To access each character (byte?) in a string you need to use a
>> mid(arr,i,1)
> The trick is to use MidB().
I can't remember having ever seen "midb()" used (forgotten all about it),
and never new that "ascb()" existed. Thanks for the heads-up and example.
Stored for future use. :-)
Regards,
Rudy Wieser