Question : Split String with Delimiter

Hi,

I would like to split this string with oracle stored proc.

77/4, Nandidurga Road $ Krishna Durga Apts. 3Rd Floor $  $

Here $ is Delimiter, output should be in seperate column for each delimited string
Example output:
Column1: 774/4
Column 2: Krishna Durga Apts, 3rd Floor
Column3: Blank {because no text after delimieter}
Column4: Blank {because no text after delimieter}

Answer : Split String with Delimiter

Is the user of the form actually typing <br /> into the textarea, or do you mean that you want newlines to be converted to <br /> markup?

You can convert newlines in a string to <br /> (or <br/>) using the nl2br function in PHP.

If the user is typing <br /> in the textarea, then <br /> will appear in the submitted data, so you already have HTML in the resulting string.
Random Solutions  
 
programming4us programming4us