Add spaces if length of field is too short

Comments

3 comments

  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Engaged
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Jack Harris so you just need to cap the length of the number to be 15 characters? If it's less, do you need to pad it? You should just be able to use something like this:

    {{substring record.[Interchange Receiver ID] 0 15}}

     

    0
  • Jack Harris
    Celigo University Level 1: Skilled
    Engaged

    I just tried that and it doesn't pad with spaces if it's shorter than 15 characters.

    0
  • Tyler Lamparter Principal Product Manager
    Awesome Follow-up
    Engaged
    Top Contributor
    Answer Pro
    Celigo University Level 4: Legendary

    Jack Harris there currently is no padding handlebar expression. You'll have to use a script to pad for now.

    0

Please sign in to leave a comment.