You could use the substr
function to return a substring starting from the 5th character:
$str = "The quick brown fox jumps over the lazy dog."
$str2 = substr($str, 4); // "quick brown fox jumps over the lazy dog."
More Related Contents:
- PHP: How to sort the characters in a string?
- Delete first 3 characters and last 3 characters from String PHP
- How can I combine two strings together in PHP?
- Make all words lowercase and the first letter of each word uppercase
- How to generate all permutations of a string in PHP?
- Remove multiple whitespaces
- PHP convert string to hex and hex to string
- Converting an integer to a string in PHP
- php implode (101) with quotes
- PHP substring extraction. Get the string before the first ‘/’ or the whole string
- PHP unserialize fails with non-encoded characters?
- Is a new line = \n OR \r\n?
- Title case a string containing one or more last names while handling names with apostrophes
- How to handle double quotes in string before XPath evaluation?
- Php – regular expression to check if the string has chinese chars
- How to get first x chars from a string, without cutting off the last word?
- Find first character that is different between two strings
- Merge array items into string
- PHP remove all characters before specific string
- PHP – Add link to a URL in a string
- How to strip trailing zeros in PHP
- Fastest way of deleting a value in a comma separated list
- How to separate letters and digits from a string in php
- Most efficient way to get next letter in the alphabet using PHP
- str_shuffle and randomness
- Hint or partially hide email address with stars (*) in PHP
- How do I get the byte values of a string in PHP?
- How to validate that a string only contain lowercase letters?
- Regex to match an IP address [closed]
- How do I detect non-ASCII characters in a string?