Jump to content

Recommended Posts

Posted (edited)

Hello All,

I have a very simple PHP script and I would like to "extract" or print or echo only the first letter of my variable. Is this possible ?

By exemple let's say my variable $_POST['profil'] return my first name, martin, I would like to have only the first letter so thaht would be the "m" in that case.

Thanks

-Martin

Edited by army20

Posted

Do you have any idea how I may echo the same vaariable using all lower case

Input is : VaRIaBle

Output needed: variable

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...