Is there a way to preserve the case of a table parameter? I've experimented with quotes, parentheses, square brackets, and curly braces, to no avail. I've looked in the help file and this forum, but I haven't found a solution.
An example adapted from the help page on table parameters illustrates the issue:
table: example
No extra punctuation [
@html_red with [
@name]]\n&
Quotes [
@html_red with "[
@name]"]\n&
Brackets [
@html_red with
@name]\n&
Braces [
@html_red with {[
@name]}]
table:html_red
<font color=red>{$1}</font>
table: name
Tom
Joe
Mike
Grogar the Conqueror
Steve
This produces results like this (with the appropriate words in red):
No extra punctuation joe
Quotes "steve"
Brackets grogar the conqueror
Braces (invalid expression: grogar the conqueror)
Thanks for any help you can offer!
Comments
There is a filter called Proper that should work for this.
Ex.
Table: Test
[@html_red with joe]
EndTable:
table:html_red
< font color=red>[{$1} >> Proper]
(had to put a space before font, or it read it as html - remove before use)
Ha, long time ago now, but after a few months I stopped checking for responses. In any case, the Proper filter (or Upper or Lower) helps only if I'm trying to force the capitalization in that manner. What I was looking for was a way to preserve the original capitalization, not to force it to something else. I long ago concluded there was no way to preserve the case in a passed parameter.