Hi ernie,
Theoretically, yes, but practically, no. That's because there's no
way to simply retrieve a character from a field. The field coding to
do this is extensive, potentially involving over 200 IF tests,
because you have to test for each possible character individually.
For example to test for the letter 'a' as the first letter in the
bookmark, you need a field coded as: {IF{REF MyBookmark}= "a*" "a"}
To test for 'a' as the last character:
{IF{REF MyBookmark}= "*a" "a"}
In each case, repeat for every other possible character.
Note: The field brace pairs (ie '{ }') for the above examples are
created via Ctrl-F9 - you can't simply type them or copy & paste
them from this message.
--
Cheers
macropod
[Microsoft MVP - Word]
"(e-mail address removed)"
is there a way to show only certain characters of a bookmark, i.e.,
only displaying the first character of a bookmark, or say, the last
character of a bookmark?