private static String cutOffValidationMatchersPrefix ( String expression ) { if ( expression . startsWith ( Citrus . VALIDATION_MATCHER_PREFIX ) && expression . endsWith ( Citrus . VALIDATION_MATCHER_SUFFIX ) ) { return expression . substring ( Citrus . VALIDATION_MATCHER_PREFIX . length ( ) , expression . length ( ) - Citrus . VALIDATION_MATCHER_SUFFIX . length ( ) ) ; } return expression ; }
Cut off validation matchers prefix and suffix .