-
hi guys,
and i want to add a dash to beginig of all lines execpt the first line like this:
with loop like I have no idea how to do this |
Beta Was this translation helpful? Give feedback.
Answered by
miloush
Jan 20, 2023
Replies: 1 comment 1 reply
-
Assuming you don't care about performance very much, you would need:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
VahidEra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Assuming you don't care about performance very much, you would need:
String.Split
, use e.g.Environment.NewLine
as a seperator, this will give you an array of stringsString.Join
andEnvironment.NewLine
as a separatorTextBox.Text
to the joined string