util/java/src/main/java/com/aliyun/eventbridge/base/EventBridgeUtil.java
public static Boolean startWith(String origin, String prefix) {
        if (origin == prefix) {
            return true;
        }
        if (null == origin) {
            return false;
        }
        return origin.startsWith(prefix);
    }
/**
     * Judge if the  origin is start with the prefix
     *
     * @param origin the original string
     * @param prefix the prefix string
     *
     * @return the result
     */
Judge if the  origin is start with the prefix
@param origin the original string
@param prefix the prefix string

@return the result
Judge if the origin is start with the prefix @param origin the original string @param prefix the prefix string @return the result
public static Boolean startWith(String origin, String prefix) {
        if (origin == prefix) {
            return true;
        }
        if (null == origin) {
            return false;
        }
        return origin.startsWith(prefix);
    }
public static Boolean startWith ( String origin , String prefix ) { if ( origin == prefix ) { return true ; } if ( null == origin ) { return false ; } return origin . startsWith ( prefix ) ; }
Judge if the  origin is start with the prefix
 @param origin the original string
 @param prefix the prefix string
Judge if the origin is start with the prefix @param origin the original string @param prefix the prefix string