formatt debug output format arrai arrai arrai result arrai length result result arrai result substr result length 