Hello,
From the 7654321_13-0001.DGN file name I am attempting to extract the number 13. I have tested a number expressions, the latest of which is as follows:
System.String.Substring (System.Path.GetFileNameWithoutExtension (ActiveFile.FileName), 8, 2)
The resulting string is 13-0000 instead of 13. Is there a way to isolate and extract only the number 13?
Thanks.
Vance
It looks working for me.
System.String.Substring(System.Path.GetFileName(ActiveFile.FileName),8,2)
jing jing (o'.'o)
Hello Jing Jing. Thank you for confirming this. Very helpful!