English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

By using Replace function, it's possible to replcae one character. Is there any way by which I can replace two chrs simultaneously..?

2006-09-26 20:13:10 · 3 answers · asked by Anonymous in Computers & Internet Programming & Design

I mean two different characters for example
"I am learnin" is string and I want to replace all "n" and "e" with "R"

2006-09-26 20:57:29 · update #1

3 answers

Use the same function:

Sub test()
Dim str As String, ans As String

str = "no great is no great is no great"

ans = Replace(str, "no", "the")

MsgBox ans
End Sub

2006-09-26 20:43:21 · answer #1 · answered by VBACCESSpert 5 · 0 0

get admission to can't try this. you will would desire to enter the information your self till you write some code which will finished this for you. you ought to do a Append question to append all the the help of one table to a various. yet for what your prepared to try this sounds greater like some code writting to get it to do purely what you prefer it too.

2016-12-18 17:47:33 · answer #2 · answered by satornino 4 · 0 0

Same function - read the documentation again!

Rawlyn.

2006-09-26 21:24:44 · answer #3 · answered by Anonymous · 0 0

fedest.com, questions and answers