$a = "room 14";
echo substr($a, 10);
If start is not negative, the returned string will start from the position start from the beginning of the string str, the initial character has the index 0. For example, in the string 'abcdef', the character at position 0 is 'a', the character in position 2 - 'c' etc.
Find more questions by tags PHP