Replace function doesn't work properly
- From: Co <vonclausowitz@xxxxxxxxx>
- Date: Mon, 20 Oct 2008 02:57:32 -0700 (PDT)
Hi All,
I use the Replace function in a vb project but found out that it ain't
working properly.
I try to remove a space from a string using:
sStr = Replace(sStr, " ", "",1, -1)
I tried this, and with Chr(32) and also vbBinaryCompare.
The space stays in.
Any ideas what causes this?
Regards
Marco
.
- Follow-Ups:
- Re: Replace function doesn't work properly
- From: Jeff Johnson
- Re: Replace function doesn't work properly
- From: Jan Hyde (VB MVP)
- Re: Replace function doesn't work properly
- From: Bill McCarthy
- Re: Replace function doesn't work properly
- Prev by Date: Re: Engineering Format Number in VB6
- Next by Date: Re: Differences between VB6 and VB.Net causing problem
- Previous by thread: LargeHex function revisited
- Next by thread: Re: Replace function doesn't work properly
- Index(es):