Skip to Content
0
Jan 11, 2018 at 07:54 AM

how to split sentence text to wrap properly which has bullets

77 Views

Hi Experts,

I am trying to get a paragraph sentence from database field of not fixed length. Which may consist of Bullets or may not. When Bullets are present in sentence. The spacing on second line is not properly aligned.

Input text:(Instead Plus it may be tick or dot symbol)
+Try a thing you haven’t done three times. Once, to get over the fear of doing it. Twice, to learn how to do it. And a third time, to figure out whether you like it or not. Courage is not the absence of fear, but rather the judgement that something else is more important than fear.

Desired output:((the dot bullet is for just to display the space with bullet))

  • Try a thing you haven’t done three times. Once, to get over the fear of doing it. Twice, to learn how to do it. And a third time, to figure out whether you like it or not.Courage is not the absence of fear, but rather the judgement that something else is more important than fear.