Reverse INSTR ?
#1
I could have swore I saw a post a while back stating that a reverse INSTR command was either introduced or someone created one but I am having no luck searching for it.

InStrRev (from VB) was quite handy and I find myself needing a QB64 equivalent.

Am I hallucinating? Is my age starting to show? Does anyone else remember this post?

-------- THERE IT IS ----------

UPDATE: I was just about to post this but decided one last time to search the Wiki using the VB name INSTRREV and there it was! The INSTR page in the Wiki makes no mention of INSTRREV. searching for INSTR in the Wiki takes you to the INSTR page with no way of seeing that INSTRREV exists.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply
#2
https://qb64phoenix.com/qb64wiki/index.php/INSTRREV
Reply
#3
Thanks Terry. Added _INSTRREV to "See also" in the INSTR wiki.
Reply
#4
Very useful to find the last "\" of a file path.  Or the last "/" of a url pointer.
Reply
#5
(05-01-2023, 07:08 AM)a740g Wrote: Thanks Terry. Added _INSTRREV to "See also" in the INSTR wiki.

Excellent, thank you for getting to this so quickly.
Software and cathedrals are much the same — first we build them, then we pray.
QB64 Tutorial
Reply




Users browsing this thread: 2 Guest(s)