hello
can somebody tell me how to use the substr() command so if i have a string like this
$alphabet = abcdefghijklmnopqrstuvwxyz
i want the max length of the string to be 15 characters and i want it to cut off after the 15th character
so $alphabet would become abcdefghijklmno
thank you
Cut String from the end after certain number of characters
Moderator: General Moderators
Re: Cut String from the end after certain number of characte
i got it . thanks a lot
Re: Cut String from the end after certain number of characte
hi,
I know the answer but it would be nice to write the solution not just "i got it" for other people
thanks a lot
I know the answer but it would be nice to write the solution not just "i got it" for other people
thanks a lot