function endsWith( $haystack, $needle ) { $length = strlen( $needle ); if( ! ... In my simple case, I wanted to check if a string ends with slash:
確定! 回上一頁