You can use strstr to do this.
echo strstr($str, 'www/audio');
More Related Contents:
- How can I combine two strings together in PHP?
- How do I replace certain parts of my string?
- Make all words lowercase and the first letter of each word uppercase
- Truncate a string to first n characters of a string and add three dots if any characters are removed
- What kind of string is this? How do I unserialize this string? [duplicate]
- How to generate all permutations of a string in PHP?
- Remove multiple whitespaces
- Get PHP class property by string
- php String Concatenation, Performance
- PHP convert string to hex and hex to string
- Converting an integer to a string in PHP
- php implode (101) with quotes
- How to convert string to boolean php
- PHP substring extraction. Get the string before the first ‘/’ or the whole string
- Str_replace for multiple items
- How to create a random string using PHP?
- Is a new line = \n OR \r\n?
- Title case a string containing one or more last names while handling names with apostrophes
- 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?
- How can I split a string in PHP at the nth occurrence of a needle?
- Find first character that is different between two strings
- Merge array items into string
- Explode string into array with no empty elements?
- Get the sum of all digits in a numeric string
- Close open HTML tags in a string
- Reverse the letters in each word of a string
- How to separate letters and digits from a string in php
- How does PHP compare strings with comparison operators?
- Limit String Length