Hello. I want to join the text so that “abc dfg dfc”. How can i make it? Thanks.
The issue you have right now is that your text notes have line breaks in them (that’s why the text looks offset in the preview). You need to remove the line break and then combine the strings based on your expected output. (Replace the break with a space if you want the spaces or an empty string if you want them combined.)
1 Like
The text isn’t abc
, dfg
, dfc
, but is actually:
abc
dfg
and
dfc
As such you can’t just join, but you need to remove the existing white space first. Pass your text though a String.TrimWhiteSpace and then use the String.Join as you did before.
2 Likes
Thank you all. @sovitek method worked.
1 Like
Hi @yaseminV2XL5 happy it could help…but its actuelly seems you still have a whitespace, try clean up for that as well…