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>aminstrn() - get element # of shortest string in array</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     aminstrn() - get element # of shortest string in array
  Usage:    <integer> = aminstrn(<array>)
  Params:   array <array>, an array of strings
  Returns:  integer equal to the element number of the shortest 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"

                 ? aminstrn(strings)
                 * prints 5

See Also: aminstr() aminstrlen()

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