gdr2_split_textarea

gdr2_split_textarea($value, $empty_lines = false)

  • $value: start text.
  • $empty_lines: if true, it will eliminate empty lines from results.

Safe split of text block into lines of array. It takes into account different line delimiters (Linux, Windows, MacOS).

Comments

Leave a Reply