hallo,
i have a text like
word word word, word word word, word word word,word word ……….
now i am Looking for a way to Format the text that after every comma a new line start like
word word word,
word word word,
word word word,
i believe i can use \\n but this doesnt work. can someone help ?
later this i want to Show this text as a message dialog
word wrap after every comma in a text ?
Moderator: Martin
Re: word wrap after every comma in a text ?
Hi,
You can use something like this:
search for ', ' (comma and space, if no space remove it)
replace with newline '\n'
Regards
You can use something like this:
search for ', ' (comma and space, if no space remove it)
replace with newline '\n'
Hope it helps,txt=replaceAll('word word word, word word word, word word word', '(?sm)(, )', '\n');
Regards
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Re: word wrap after every comma in a text ?
yes it helped
thank you
thank you
Re: word wrap after every comma in a text ?
Welcome
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Shri Mataji Nirmala Devi, founder of Sahaja Yoga