Hi everyone,
I'm an asp coder but decided to use php now for my website.
So I'm a newb at the moment.
There was a command in asp (left, right and mid) that allowed me to get string.
left() allowed to get the first # of chars of a string (# is based on what I set). So I could get the first 3 chars by using the left command.
right() allowed to get the last # of chars of a string.
while mid() allowed me to get chars between one point to another point.
I'm looking for a similar command in php. It's meant to parse data.
For example:
My forum uses a date system where the first 4 char is the year, the next 2 is the month and the next 2 is the date.
I'd like to parse this and conver this information into unix timestamp.
Please help.
Thank you for you time and attention.