E
Ed_R
I have a free form field that people fill in and submit. Their
responses can be from a sentence or two, to one long paragraph, to
multi-paragraphs. For downstream reasons, if they enter multiple
paragraphs, I need to be able to separate each paragraph out. Reading
some, it sounds like I may be able to use the split function in
conjunction with searching for the line field character. The problem
though is not exactly sure how to accomplish that task.
So if my field is called message_text, how would I best be able to
separate out and return each paragraph as a separate entity? What
would the code need to look like, either as I suggested above or other
method?
Any suggestions? Thanks!
responses can be from a sentence or two, to one long paragraph, to
multi-paragraphs. For downstream reasons, if they enter multiple
paragraphs, I need to be able to separate each paragraph out. Reading
some, it sounds like I may be able to use the split function in
conjunction with searching for the line field character. The problem
though is not exactly sure how to accomplish that task.
So if my field is called message_text, how would I best be able to
separate out and return each paragraph as a separate entity? What
would the code need to look like, either as I suggested above or other
method?
Any suggestions? Thanks!