Tab in text string
Author: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
Author: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
Author: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
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: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
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: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
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: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
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,
Peter
Author: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
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: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
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,
Peter
Author: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
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.
Zdenek
Author: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
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: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
Peter,
In Uniface version 9 you also can use the Proc function $string. For example:
Hope this helps.
Best regards,
Daniel
Author: lammersma@hotmail.com (lammersma)
Hi,
Is there a way to get a 'tab' in a text string?
TIA,
Peter
Hi Daniel,
Sorry for the late respons. The $string works perfect. No more $tometa...
Kind regards,
Peter
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.