If StrPos( String, Current_path ) then 
 Call StrReplace String Current_path '' 'String'
;  
