Avatar of sbornstein2
sbornstein2
 asked on

C# Iterate over string question

Hello all,

I have a string where I need to take only up to 30 characters then after that create a new line.   It needs to also not split in between a word.   How can I do this until the end of the string?
C#

Avatar of undefined
Last Comment
sbornstein2

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
it_saige

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
sbornstein2

ASKER
This was perfect thanks a lot.
Your help has saved me hundreds of hours of internet surfing.
fblack61