INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Delimit() ignoring leading figure spaces  (Read 808 times)

6233638

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 5353
Delimit() ignoring leading figure spaces
« on: November 18, 2014, 11:20:32 am »

I realize that this is an odd one, but it seems like it should be a quick thing to fix?
If I use figure spaces in Delimit(), they are being ignored.
 
This example is not the expression I am trying to use, but the easiest way to demonstrate the problem:
 
Code: (Delimit Figure Space) [Select]
If(Compare([Track #], >, 9), [Track #],
Delimit([Track #],,/ ))

This should prefix tracks 1-9 with a figure space.
A figure space has a width of one full character.
This means that the right-edge of 1-9 should be in line with the right edge of 10+ in a left-aligned column.

When using Delimit() though, the figure space is being completely ignored:


Code: (Explicit Figure Space) [Select]
If(Compare([Track #], >, 9), [Track #],
/ [Track #])

If I explicitly add a figure space in front of [Track #] rather than use Delimit(), it does work - though this is not suitable for the expression I am trying to write.
 


Code: (Delimit Regular Space) [Select]
If(Compare([Track #], >, 9), [Track #],
Delimit([Track #],,/ ))

It is possible to use a regular space with Delimit(), however this is not a full character wide and does not push the characters far enough over to the right:
 
Logged
Pages: [1]   Go Up