I have a big number such as 56781236 (8 digits long).
And I want to find the integer that is in the fourth step, here it is 1.
Or it could be from left, the fifth: 1.
How to find the number of a given location.
Moderator: General Moderators
Re: How to find the number of a given location.
You mean like this?
Code: Select all
substr($int, 4, 1);