Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Replace Function
I have this code:
and want to to a replace like this:
If I Replace one by one I get this:
If I ReplaceAll I get this:
Maybe one for the upcoming Work with the Editor?
curdir = ""
call GetCurrentDir("", curdir)
and want to to a replace like this:
If I Replace one by one I get this:
CurrentDirectory = ""
call GetCurrentDir("", CurrentDirectory)
If I ReplaceAll I get this:
CurrentDirectory = ""
CurrentDirectorycall GetCurrentDir("", )
Maybe one for the upcoming Work with the Editor?
Comments
I've used replace all, extensively without issue.
But I haven't played with 10.
Editor 3.3.8.2
Editor OCX 3.3.8.2
SRP Utilities 2.2.5.2
I have used it extensively before and this is the first time I notcied it.
So I replciated my example in a new procedure after restarting OI. Easily reproduced.
I havent started playing aroud to further figure out what is special about that case (or setting for that matter)
So, in case it is important, My Editor is setup for:
I couldn't get it to break until reading the other post.
Had to do a "Find Next", "Replace", "Replace All" as per Vince's example.