Value in Source Data:
DWGNAME,OLDHANDLE,NEWHANDLE,X1,Y1,TYPE,NEW_ID
BDCV.dwg,3F7,16354,2181887.040872167,12004078.93869873,ROUTE,1233345
The String replacer is defined like $(DrawPath)@Value(DWGNAME)
Output from transformer:
If DrawPath Parameter=C:\\ClientMaps\\
C:\\ClientMaps DEFAULT_MACRO FME_DATA_REPOSITORYBDCV.dwg
if DrawPath Parameter=C:\\ClientMaps
C:\\ClientMapsBDCV.dwg
I need the output to be C\\ClientMaps\\BDCV.dwg
Thanks