checking that works with custom delimiter with variable length