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>alltrimlen() - get length of string as if alltrimmed()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  Name:     alltrimlen() - get length of string as if alltrimmed()
  Usage:    <integer> = alltrimlen(<string>)
  Params:   string <string> - the string to check
  Returns:  integer equal to the length of the string without
            leading and trailing spaces.

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

                 ? len(alltrim("   this is the string    "))
                 * prints 18

                 ? alltrimlen("   this is the string    ")
                 * prints 18

            This function is a convenience function since you
            do not have to alltrim() the string first to see how
            long the result would be. It is also slightly faster
            than len(alltrim(memvar)).


See Also: ltrimlen() trimlen() alen() nlen()

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