8/3/2020 12:11 PM | |
Joined: 12/11/2018 Last visit: 10/2/2024 Posts: 26 Rating:
|
Hallo , i have a problem and i need your help. So i have a Message coming from my String-Data and this message can content 20, 40, 60, 80 Characters ( the lengh is not fix). So i need to read the content of my String-Data write it on three Lines. Each Line can only accepts 20 Characters. So i used the function "find" to search for the and depending where i find it, i cut the text.With my Commands Left and Rigt i cut als my Text, but the Problem is the lengh . i need for e.g. to print this: - first Line : i drink coffee because - second Line: i am tired - third Line:Understood? not like this:(i dont want have a cut between the words) - first Line: i drink coffee be - second Line: cause i am ti - third Line: red Underst Someone knows how to set this, so that i can always cut my programms at the right place. Notice that i have 3 Lines, each Line has max.20 Charachters. PS: u can also reply in German Kinds regards. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 08/03/2020 13:23:01New subject after splitting |
|
Follow us on