<?php $result = 'OX000045678'; $prefix = 'OX'; if ( $prefix == substr( $result, 0, strlen( $prefix ) ) ) { echo substr( $result, strlen( $prefix ) ); }
You have javascript disabled. You will not be able to edit any code.