Item Type Expressions

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

Parents Reply Children
No Data