roundcubemail/plugins/managesieve/lib/Roundcube/rcube_sieve_script.php
static function ltrim_position($content, $position, $br = true)
    {
        $blanks = array("\t", "\0", "\x0B", " ");

        if ($br) {
            $blanks[] = "\r";
            $blanks[] = "\n";
        }

        while (isset($content[$position]) && isset($content[$position + 1])
            && in_array($content[$position], $blanks, true)
        ) {
            $position++;
        }

        return $position;
    }
static function ltrim_position($content, $position, $br = true)
    {
        $blanks = array("\t", "\0", "\x0B", " ");

        if ($br) {
            $blanks[] = "\r";
            $blanks[] = "\n";
        }

        while (isset($content[$position]) && isset($content[$position + 1])
            && in_array($content[$position], $blanks, true)
        ) {
            $position++;
        }

        return $position;
    }
static function ltrim_position ( $ content , $ position , $ br = true ) { $ blanks = array ( "\t" , "\0" , "\x0B" , " " ) ; if ( $ br ) { $ blanks [ ] = "\r" ; $ blanks [ ] = "\n" ; } while ( isset ( $ content [ $ position ] ) && isset ( $ content [ $ position + 1 ] ) && in_array ( $ content [ $ position ] , $ blanks , true ) ) { $ position ++ ; } return $ position ; }
Skip whitespace characters in a string from specified position.
Skip whitespace characters in a string from specified position .