Hiding the .fm extension in variables
Hi All,
Requesting a solution for a query that has been discussed earlier, but I am not able to fully understand the replies.
I have a book in FM 2019 with around 100 documents. Each document has a table, whose Table Title should be the same as the Document Title.
- Does a variable exist that has only the document title without the .fm extension? For example, I have a document called Oil Pump.fm that has a table that should have the same name, but without the .fm extension. I have tried to use <$chaptertitlename> or <$filename> variable but the inserted text is always "Oil Pump.fm" and not the desired "Oil Pump."
- Is it possible to create a variable that uses the file/document name without adding the .fm extension?
- If I can't have a variable free of the .fm extension, is there a method of 'Find and Replace' that will replace the "Oil Pump.fm" text in the Table Title with just "Oil Pump"?
Thanks in advance for your help.
Regards
Apurva
