Author Topic: How to extract first 20 character from string in PHP ?  (Read 29283 times)

PHPize

  • Newbie
  • *
  • Posts: 19
How to extract first 20 character from string in PHP ?
« on: September 14, 2011, 10:50:59 AM »
 I am learning php and I need to do a task where I have to get first 20 character from a string of lenght 90 characters. strlen() will not help here because I know string lenght.. now how to extract..  I think there was function to do this but what was its name ?
Please guide how to do that ?

 

X

Do you know?

By participating in our community you can get free top level domain as well learn about Search Engine Optimization, Server management and more..
Join Now!
anything

Database Error

Please try again. If you come back to this error screen, report the error to an administrator.
Back