Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $exp = explode("\n", $this->textArea->text);
- for($i=0; $i<count($exp); $i++) {
- if(count($exp)-$i == 1) unset($exp[$i]);
- }
- $this->textArea->text = implode("\n", $exp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement