<?php $string = 'Hello world, command data test com'; $string = rtrim($string, ' com'); echo $string;
You have javascript disabled. You will not be able to edit any code.