Parsedown::striAtStart( $string, $needle )
Description
Source
File: bp-help/vendors/parsedown/Parsedown.php
1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 | protected static function striAtStart( $string , $needle ) { $len = strlen ( $needle ); if ( $len > strlen ( $string )) { return false; } else { return strtolower ( substr ( $string , 0, $len )) === strtolower ( $needle ); } } |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.