⍝ Trim off trailing blank cols:

    txt←4 10⍴'It        little    profits   that      '

    display txt
┌→─────────┐
↓It        │
│little    │
│profits   │
│that      │
└──────────┘

    display mtrim txt
┌→──────┐
↓It     │
│little │
│profits│
│that   │
└───────┘

⍝∇ mtrim display

Back to: code

Back to: Workspaces