HI… Can someone point me in the right direction of the node/nodes I should use to remove random text placed at the end of a filename as follows…
"223_45_GROUND FLOOR PLAN" to be renamed "223_45"
“789_67_1st FLOOR PLAN” to be renamed “789_67”
The original filenames are generated by Revit using the sheet number and sheet name which both need to remain in the model but I need the sheet name removing from the pdf but the end text/sheet name differs every time.
I should add that I know how to get the sheet name values using the Sheet.Sheetname node but then not sure what to do to take that list and use it to rename files minus each sheet name via plugging into the String.Replace node. It’s the bit inbetween I can’t figure out.