VB.net Insert Environment.NewLine at 20 characters.
- by xzerox
Well I have been able to figure this out but what I want to do is make my string have a new line after 20 chars. I know how to find how many chars the string has but not how to insert environment.newline at 20 chars.
I am using this to find the string length
If string.Length > 20 then
'Need to be able to insert environment.newline at 20 chars
Else
'Normal string
End If