str = GetHolNameFromTable()
This macro function returns the name of the current holiday in the holidays table.
If, however, the name of the holiday contains any formatting, as in the example above, then as is the case when using the FormatParagraph and FormatText, the result of a call to the function GetHolNameFromTable will look like '**RICH1**except WA & QLD**TEXT1**' with a command is saved for later processing, to replace the string '**RICH1**except WA & QLD**TEXT1**' with 'except WA & QLD' in the italics formatting specified above.
If you only need to get the plain text part of a holiday name, for example to see if it contains some given text, then you should use the GetHolTextFromTable function instead.
Topic 105137, last updated on 20-May-2020