Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reverse search and case-insernsitive search routines
#4
@Pete The reason is for easy splitting of the string.

a$ = "C:\My Dir\My File.txt"

Now, get the last slash in that string, to break it down to path + file:

path$ = LEFT$(a$, _INSTRREV(a$, "\"))
file$ = MID$(a$, _INSTRREV(a$, "\") + 1)
Reply


Messages In This Thread
RE: Reverse search and case-insernsitive search routines - by SMcNeill - 04-04-2024, 01:50 AM



Users browsing this thread: 1 Guest(s)