Using LOOKDOWN with multiple search ?


Results 1 to 8 of 8

Threaded View

  1. #3
    Join Date
    Dec 2010
    Posts
    3


    Did you find this post helpful? Yes | No

    Default

    The origin of the list (string if you prefer), isn't important. Other methods of searching a string are likewise not being sought.

    My question is specific to the LOOKDOWN command: I am seeking to establish the usefulness (or otherwise) of this somewhat unique command. Is LOOKDOWN capable of returning more than just the position of one instance of a character, when that character may feature more than once within a string (or list of characters) ?

    Maybe an example would clarify my question.
    Suppose I have a string "mississippi", and search that string for the character 'i' using LOOKDOWN. Which 'i' position will LOOKDOWN return ? (The first, or the last - the manual doesn't say) Then, is there a way that LOOKDOWN can be 'coerced' into returning the position of all four 'i' s ?
    Last edited by electrosys; - 8th January 2011 at 20:01. Reason: Example added

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts