The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[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: "Keith Doxey" <ukha@xxxxxxx>
  • Date: Fri, 1 Jun 2001 10:53:01 +0100
  • 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

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
----------------------------------------------------------------------------
----

> -----Original Message-----
> From: Dr John Tankard [mailto:john@xxxxxxx]
> Sent: 01 June 2001 10:45
> To: ukha_d@xxxxxxx
> Subject: [ukha_d] OT VB question
>
>
> Sorry for the OT question
>
> I am having to sort a problem in VB for a customer which I have never
used
> before.
>
> What is the escape chr when you wish to quote a quote ie.
>
> While InStr(StripStr,""") >0
> ....
>
>
> What do i need in front of the second quote ?
>
> Thanks in advance
>
> John
>
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>




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.