Left Justify and pad with spaces

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Left Justify and pad with spaces

  • Creator
    Topic
  • #53719
    Corey Lewis
    Participant

    I have a field that I need to look like so…

    “L     “?    That’s an L with 5 spaces after it, I don’t need the quotes.

    Can I do that with a tcl fragment?

Viewing 0 reply threads
  • Author
    Replies
    • #78724
      bill bearden
      Participant

      Try something like this…

      Code:

      set a “L”
      set b [format %-5s $a]

Viewing 0 reply threads
  • The forum ‘Cloverleaf’ is closed to new topics and replies.

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,293
Replies
34,435
Topic Tags
286
Empty Topic Tags
10