I recall that somewhere there is a command that covers finding a string in a container, such as a variable. Something like “revFind…” This would expand the command from being limited to fields.
Does anyone recall such a thing? I am sure it was discussed on this forum, though a decade or more ago.
Craig
A "find" command for variables??
Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller
-
FourthWorld
- VIP Livecode Opensource Backer

- Posts: 10111
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: A "find" command for variables??
Describe what you need, and one of us can write a function for that in a few minutes. If you want to write it yourself see either lineOffset or offset, noting the placeholder variable (linesToSkip or charsToSkip) from the description.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn