Given a string and integer n, split the string at n characters, and print as follows: Given a string and integer n, split the string at n character, and print as follows: 
Ex)

laptop 3 should print lap top

laptop 2 should print la pt op (see how it splits the string at every 2nd char)

Special cases:

laptop 0 should print laptop (since we split at every 0th char, thus none)

laptop 9 should print laptop (since length of laptop &lt; 9, so no splitting)

bob 2 should print bo b (we split at the o (2nd char), but then there aren't enough characters after, so we just leave as is`

You may assume n >= 0
Japt, 7 bytes

òVªLl)¸


Test it online!

Explanation

            Implicit: U, V = inputs
UòV   )     Split U into slices of length V.
   ªLl      If V is 0, instead use 100! (roughly 9.3326e+157).
       ¸    Join with spaces.
            Implicit: output result of last expression


9.3326e+157 is far larger than JavaScript's max string size of 9.0072e+15, so this will work for any input.