Raphael. Try the statements
#EVAL(#U0=STRLEN(#FILE)) #EVAL(#U0=#U0-4) #EVAL(#S0=STRSUB(#FILE, 1, #U0))%(#S0) Bill -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 11:52 AM To: [EMAIL PROTECTED] Subject: [mfg-smartcam] Smartcam Code Generation Hello, I have a question about Smartcam Code Generation: I need remove a word from the nc file using a *.tmp. Really I can output the name of the nc using the template word "#FILE", but in my nc file, is not permissible the extension of the file. Example: the lines ====== %(wheel.iso) N2 G00 G17 G56 ... ====== must be ====== %(wheel) N2 G00 G17 G56 ... ====== What should I do to remove the extension *.iso from my nc file? Is there any template word that do it? Any logical operator? Thank you. Raphael de Souza Castro Hydro Turbines - Alstom Power Voice Phone: +55-12-225-3064 Fax Phone: +55-12-225-3140 Mail: [EMAIL PROTECTED] ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ====================================================================== ====================================================================== To find out more about this mailing list including how to unsubscribe, send the message "info mfg-smartcam" to [EMAIL PROTECTED] ======================================================================
