Skip to main content
Participant
May 18, 2011
Answered

Colon in index marker text

  • May 18, 2011
  • 2 replies
  • 553 views

I have a mif file from which I need to create a 1 level index.

I have numerous data which contains a colon; so the MText tag looks something like this - <MText `Accredited: Representative'>

Now, I know that the function of a colon is "Separates levels in an entry"

I also read "Note: To enter a backslash or any special character used in these building blocks—colon, semicolon, bracket, or angle bracket—as regular characters, precede it with a backslash (\)."

I can make the MText look like this - <MText `Acccredited\: Representative'>

But this does not work; I still get a 2 level entry in my index. What am I missing?

Any help is greatly appreciated.

    This topic has been closed for replies.
    Correct answer Bob_Niland

    Entering:

    colon\: test

    in the normal Special > Marker > Marker Text: field


    then saving the file as MIF, and searching for it, finds:

    <MText `colon\\: test'>

    Apparently the rule is single-escape for dialogs, double-escapes in MIF.

    2 replies

    Jeff_Coatsworth
    Community Expert
    Community Expert
    May 18, 2011

    You may have use the backslash within the marker text while in FM, not the MIF file. It might get expressed differently when saved out as MIF. Try a sample file and see what the resulting MIF text looks like.

    Bob_Niland
    Community Expert
    Bob_NilandCommunity ExpertCorrect answer
    Community Expert
    May 18, 2011

    Entering:

    colon\: test

    in the normal Special > Marker > Marker Text: field


    then saving the file as MIF, and searching for it, finds:

    <MText `colon\\: test'>

    Apparently the rule is single-escape for dialogs, double-escapes in MIF.

    Participant
    May 18, 2011

    Thanks so much! That works for me.

    Thanks to Jeff too.

    I appreciate the promptness of both answers.