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

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

                 ? len(ltrim("   this is the string    "))
                 * prints 22
                 ? ltrimlen("   this is the string    ")
                 * prints 22

  Note:     This function is slightly faster than len(ltrim(memvar)).


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

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