Jump to content

PHP String Fucntion


twinklerip

Recommended Posts

Is there a function in PHP that can return substring from a string between 2 given positions.Example:If i'd like the character between postion 3 and 10 from the string "This function may". That result would be "s func"Or is there a function that can trim the characters upto certain positions from the left and another function that can trim the characters to the right from certain position.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...