Hi,

Note that $chr(160) might not be a space in some fonts, but I've never encountered it.

The following alias might be handy for you:
Code:
 
alias space return $str($chr(160),$iif($1,$1,1)) 

Usage: $space or $space(N)

Example: //echo -a This $space is a string $space(4) to check out the spaces.


The remarks from Danthemandoo still stand, so $space will actually be 3 spaces in total, which is an extra of 2. If you really only want only 1 extra space then like he said you have to use $+

Example: //echo -a This $+ $space shows just 1 extra space (total of 2)

Greets

Last edited by FiberOPtics; 17/06/04 10:23 AM.

Gone.