Tab in text string

Author: (lammersma)


Is there a way to get a 'tab' in a text string?




  1. Hi,

    Forget this one, please. The answer is: $tometa(9). Example: $concat(string1, $tometa(9), string2)

    There must be more scientific methods to do this, but this will do the job.

    kind regards,



    Author: lammersma (
  2. Hi,

    what's the point of using $tometa for such a simple character as tab? Do you use it for other characters as well?

    As for me, I use for "A" just "A" and for tab just tab. I do not remember myself using $tometa(9) for tab character. Even while importing data from some spreadsheet (like excel) where columns are separated by tab, I just replace tab with sublist separator (something like !;). I have seen no problem with this so far.


    Author: sochaz (
  3. Hi Zdenek,

    the only reason to use $tometa(9) is the visibility in (even printed) proc listings.

    Otherwise you start things like:

    v_separator = "  " ; this is a TAB

    Success, Uli

    Author: ulrich-merkel (
  4. Peter,

    In Uniface version 9 you also can use the Proc function $string. For example:

    • myVar = $concat(string1, $string("&uTAB;"), string2)
    • myVar = $string("Item1&uTAB;Item2")

    Hope this helps.

    Best regards,


    Author: diseli (
  5. Hi Daniel,

    Sorry for the late respons. The $string works perfect. No more $tometa...

    Kind regards,


    Author: lammersma (
  6. Hello,

    just wanted to thank you all for info, mainly Daniel for poiting out the $string function... we have recently realized that $tometa(160) stopped working in Uniface 9 (tested in Uniface 9.3 and 9.5) - it should return unbreakable space (or something like that :)) but in Uniface9 it returns some garbage... we have tried $string(" ") instead and it seems to work fine.

    Kind regards,
    Zden?k Socha

    Author: sochaz (
  7. NB: When you want to make a large tab separated list you may want to build a Uniface list first, and when done replace all gold semicolons with tabs. Do everything in variable and only put it in a field when done. This will make it faster.

    Author: Theo Neeskens (
  8. Hi Peter,

    just QUICK-ZOOM the proccode-field

    The TAB will become just an ordinary key:
    you press TAB  => TAB will become a character in your text.

    Success, Uli

    Author: ulrich-merkel (
  9. Hi Uli,

    I wanted to create a tab seperated list. For example, to mail it to someone who wants to past it into a spreadsheet.

    Kind regards,


    Author: lammersma (
  10. Hi Peter,

    today, I will publish some enhancements on lists in the dITo area of my homepage.
    Best is to use the Sitemap to go straight to the dIToLis page.

    One feature is "joinitems", which concatenates the items of a list plus a separator you can specify.

    If you (or anyone else) have a need for additional list manipulations,
    please tell me; next release of  dIToLis may include these.

    Success, Uli


    Author: ulrich-merkel (