public static String[] tokenizeOnSpace(String s)
    {
        return Arrays.stream(s.split("(?<=" + StringUtil.PATTERN_SPACE + ")|(?=" + StringUtil.PATTERN_SPACE + ")"))
                .toArray(String[]::new);
    }
@Test
    void testTokenizeOnSpace_happyPath()
    {
        String[] result = StringUtil.tokenizeOnSpace("a b c");
        assertArrayEquals(new String[] {"a", " ", "b", " ", "c"}, result);
    }