Re: Left(), Mid(), Right()
From: alpine (alpine_don'tsendspam_at_mvps.org)
Date: 02/14/05
- Next message: aam: "Re: Mouse_event or SendInput ?"
- Previous message: Doug Brooks: "Re: Compiling TWO execurables"
- In reply to: Bob Butler: "Re: Left(), Mid(), Right()"
- Next in thread: Bob Butler: "Re: Left(), Mid(), Right()"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Feb 2005 14:14:42 -0700
On Mon, 14 Feb 2005 12:29:12 -0800, "Bob Butler"
<tiredofit@nospam.com> wrote:
>"alpine" <alpine_don'tsendspam@mvps.org> wrote in message
>news:h8p111d91upi9ak27c625vbgo1e2ftugm3@4ax.com
>> The way I read your reply, you are talking about the input param.
>> Just to be clear, the "$" designates that the function will *return* a
>> string instead of a variant.
>
>The $ specifies that the argument is a string *and* that the result is a
>string where the non-$ version uses a Variant for both (excluding the
>Replace, Date and Time functions). The non-$ versions will accept a Null as
>the argument and return a Null without error while the $ versions will raise
>an error if given a Null value.
Good catch! In all the years I've been using VB, I don't think I ever
paid attention to the input params for these functions since, I always
only ever use strings with them and, of course, only use the "$"
versions. Must always remember, "The object browser is your friend."
;-)
Bryan
____________________________________________________________
New Vision Software "When the going gets weird,"
Bryan Stafford "the weird turn pro."
alpine_don'tsendspam@mvps.org Hunter S. Thompson -
Microsoft MVP-Visual Basic Fear and Loathing in LasVegas
- Next message: aam: "Re: Mouse_event or SendInput ?"
- Previous message: Doug Brooks: "Re: Compiling TWO execurables"
- In reply to: Bob Butler: "Re: Left(), Mid(), Right()"
- Next in thread: Bob Butler: "Re: Left(), Mid(), Right()"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|