ON Thursday, October 23, 2003, 9:22:17 AM, you wrote:
AP> Hello!

AP> Do you mean nested calls?
AP> %StrReplace(%StrReplace('abc','a','X'),'c','Y')

AP> If there are too many:
AP> %_MyCoolText='abcdefg'%-
AP> %_MyCoolText=%StrReplace(%_MyCoolText,'a','1')%-
AP> %_MyCoolText=%StrReplace(%_MyCoolText,'b','2')%-
AP> %_MyCoolText=%StrReplace(%_MyCoolText,'c','3')%-
AP> %_MyCoolText=%StrReplace(%_MyCoolText,'d','4')%-
AP> %_MyCoolText=%StrReplace(%_MyCoolText,'e','5')%-
AP> %_MyCoolText=%StrReplace(%_MyCoolText,'f','6')%-
AP> %_MyCoolText=%StrReplace(%_MyCoolText,'g','7')%-
AP> %_MyCoolText


Andrew,

Brilliant!!

Now can we also make the case independent so I od not have to make
different search/replace strings for Gerard and gerard?

As a bonus I am learning how to write these pesky litle macro´s ;-)

-- 
Best regards,
 Gerard 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
One lesson you better learn if you want to be in politics is that you
never go out on a golf curse and beat the President. Lyndon B. Johnson

Using The Bat! v2.01.3 on Windows 2000 5.0 Build 2195 Service Pack 4


________________________________________________
Current version is 2.01.3 | "Using TBUDL" information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to