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
Re: A "find" command for variables??
Richard.
Thanks, but I can do that as well.
But your post implies that there is no such variable-based command in LC. Perhaps I was dreaming when I thought there was, that it was discussed here, that it was either poorly documented or not at all, and that it took the form "RevFind...".
I really expected someone to say, "sure there is, and it is ..."
Craig
Thanks, but I can do that as well.
But your post implies that there is no such variable-based command in LC. Perhaps I was dreaming when I thought there was, that it was discussed here, that it was either poorly documented or not at all, and that it took the form "RevFind...".
I really expected someone to say, "sure there is, and it is ..."
Craig