<?php $text = 'Line 1nLine 2nLine 3'; echo substr($text, 0, strrpos($text, '/')). "\n"; echo trim(substr($text, strrpos($text, '/')), '/');
You have javascript disabled. You will not be able to edit any code.