public static function mustNotBeginAndEndWith($character = '/', $string = ''){
        return self::mustNotBeginWith($character, self::mustNotEndWith($character, $string));
    }
public static function mustNotBeginAndEndWith($character = '/', $string = ''){
        return self::mustNotBeginWith($character, self::mustNotEndWith($character, $string));
    }
public static function mustNotBeginAndEndWith ( $ character = '/' , $ string = '' ) { return self :: mustNotBeginWith ( $ character , self :: mustNotEndWith ( $ character , $ string ) ) ; }
Check if a string doesn't end or begin with a special character

@param string $character
@param string $string
@return string
Check if a string doesn t end or begin with a special character