ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Replace the ellipsis character in text string

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    It the length of the string can change, it might be worth handling some characters individually.
    string = %scanrpl(ellipsis_char : '...' : string);

    Then after handling any known characters, squeeze out any remaining special characters.
    Last edited by Barbara Morris; March 13, 2018, 04:48 PM.

    Comment

    Working...
    X