Sprungmonkey,Try the attached solution in VS 2013.Make sure to install Net Framework 4.7.1 Developer Pack first (if you don't have it already installed).
/********************************************************************• .NET equivalent of STRING.REPLACE• Search a string for a specified string and replace it• Added looping capability to replace more than one• Added passing different custom source string size********************************************************************///Determine the size of the passed in arraySIZE(SourceArray,0,array_size);FOR index:= 0 TO array_size-1 DO COP(SourceArray[index],sSource.DATA[index],1);END_FOR;//sSource.LEN:= array_size;WHILE sSource.LEN > sSearch.LEN DO FIND(sSource,sSearch,1,PosFound); IF PosFound > 0 then DELETE(sSource,sSearch.LEN,PosFound,sSource); INSERT(sSource,sReplace,PosFound,sSource); ELSE EXIT; END_IF;END_WHILE;FOR index:= 0 TO sSource.LEN-1 DO COP(sSource.DATA[index],SourceArray[index],1);END_FOR;