Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
instr function in reverse ???
#1
Here is a bit to knock around.

I have a standard routine I use to find the last occurrence of a character in a string. Happens to be "\".  Using a do loop to search out a string is easy.  Looking to make it faster.  Would it be beneficial, to specify the direction of search in instr function?  Forward or reverse order.

I am think more of an enhancement to instr function.  if it's more trouble than it's worth, I will just continue with what I got.
Reply


Messages In This Thread
instr function in reverse ??? - by doppler - 02-10-2023, 01:51 PM
RE: instr function in reverse ??? - by Jack - 02-10-2023, 02:01 PM
RE: instr function in reverse ??? - by SMcNeill - 02-10-2023, 02:17 PM
RE: instr function in reverse ??? - by doppler - 02-10-2023, 02:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Function Pointers? BlameTroi 5 238 02-20-2026, 05:55 PM
Last Post: BlameTroi
  The reverse of _droppedfile extended function needed doppler 0 311 09-25-2025, 03:19 PM
Last Post: doppler
  Questions about INSTR Circlotron 7 1,032 04-27-2025, 03:12 PM
Last Post: mdijkens
  function "_ARCSEC()" is wrong? BSpinoza 16 3,438 10-31-2023, 04:23 PM
Last Post: SMcNeill
  TYPE and CONST within SUB/FUNCTION TerryRitchie 9 1,955 07-11-2023, 01:22 AM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)