Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FUNCky - <b>name:</b> <b>amaxstrn() - get element number of longest string in array</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     amaxstrn() - get element number of longest string in array
  Usage:    <integer> = amaxstrn(<array>)
  Params:   array <array>, an array of strings
  Returns:  integer equal to the element number of the longest string
            found in the array

 ---------------------------------- Example ---------------------------------

                 declare strings[5]
                 strings[1] = "This one"
                 strings[2] = "That one"
                 strings[3] = "The other one"
                 strings[4] = "Someone"
                 strings[5] = "Noone"

                 ? amaxstrn(strings)
                 * prints 3


See Also: amaxstr() amaxstrlen()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson