Re: Search and Replace in String
From: Vince (sdsad_at_fsd.com)
Date: 02/01/05
- Next message: Larry: "Re: How to make doc's FullName into an AutoText entry without first inserting it into document"
- Previous message: Eternally grateful: "Search and Replace in String"
- In reply to: Eternally grateful: "Search and Replace in String"
- Next in thread: Vince: "Re: Search and Replace in String"
- Reply: Vince: "Re: Search and Replace in String"
- Reply: Jezebel: "Re: Search and Replace in String"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 1 Feb 2005 12:53:51 +0800
myData=Replace(myData,chr(40),"-")
OR
myData=Replace(myData,"¾","-")
Is this what you want?
Vince
"Eternally grateful" <Eternally grateful@discussions.microsoft.com> wrote in
message news:1D3B6AAD-28BA-4C32-A474-A934B6C114E0@microsoft.com...
> Can anyone tell me if it is possible to perform a search and replace
inside
> of a string?
>
> I have a string called myData that contains an emdash that I need to
change
> into a hyphen and I cannot find a way to do this.
>
> Any assistance would be greatly appreciated.
>
> Thank you for taking them time to read this.
- Next message: Larry: "Re: How to make doc's FullName into an AutoText entry without first inserting it into document"
- Previous message: Eternally grateful: "Search and Replace in String"
- In reply to: Eternally grateful: "Search and Replace in String"
- Next in thread: Vince: "Re: Search and Replace in String"
- Reply: Vince: "Re: Search and Replace in String"
- Reply: Jezebel: "Re: Search and Replace in String"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|