replace last occurrence FIXED by *yuko*

do input""s$,t$,u$:n=rinstr(u$,s$):if""<s$^0*n?left$(u$,n-1),t$;
?mid$(u$,n+len(s$)*!!n)loop

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page