If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.
the problem in this case is the starting point. Yeah you could get to it but listlast is still the easiest way. also the length you need displayed in this case may also differ.
for example
my.image.from.home.jpeg
is a valid windows file name and jpeg is 4 characters, you'd have to use find() and get the last "." for it to work right.
If you don't ask the right questions, you don't get the right answers. A question asked in the right way often points to its own answer. Asking questions is the ABC of diagnosis. Only the inquiring mind solves problems.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.