i am new at Progress openedge! I would like to know how to split a user entered String with using procedure! length of string could be max 2000 and every single Line contains max 35 Character.And spaces between Words must be also to considered.if a single line max > 35 then must begin with another line but not like this : ....hel lo......... it has to after 35.Line cutting off and spring next line but the spaces make me so confused and i cant find any Algorithm For example: myfield2 = "Many districts and landmarks in New York City are well known, and the city received a record 62.8 million tourists in 2017". if index(myfield2,spacee) = 0 then do: do while ii < length(myfield2) : line = substring(myfield2,ii,35). ii = ii + 35. end. end. display line. else if index(myfield2,spacee) <> 0 and length(myfield2) < 35 then do: ....... sth like this ? thank you! Continue reading...