The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: [OT] SKY - There is a technical fault with this channel please try again later.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT VB question


  • To: ukha_d@xxxxxxx
  • Subject: Re: OT VB question
  • From: "Dr John Tankard" <john@xxxxxxx>
  • Date: Fri, 01 Jun 2001 10:02:35 -0000
  • Delivered-to: rich@xxxxxxx
  • Delivered-to: mailing list ukha_d@xxxxxxx
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

--- In ukha_d@y..., "Keith Doxey" <ukha@d...> wrote:
> If you just want to remove or replace a particular character which
is what I
> guess you are trying to do with a varaiable called
"StripStr" why
not use
> the Replace function.
>
> Replace(expression, find, replacewith[, start[, count[, compare]]])
>
> MyString = Replace("XXpXXPXXp", "p",
"Y")	 ' A binary
comparison starting at
> the beginning
> 							 ' of the
string. Returns "XXYXXPXXY".
> MyString = Replace("XXpXXPXXp", "p",
"Y",1)' A textual comparison
starting
> at position 3.
> 							 '
Returns "YXXYXXY". 3, -1, 1)
>
> Keith


Thanks

John




Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.