<?php $str = '---12323123123---'; echo trim($str, '-'); echo "\n"; echo rtrim($str, '-'); echo "\n"; echo ltrim($str, '-'); echo "\n";
You have javascript disabled. You will not be able to edit any code.