You need to sign in to do that
Don't have an account?
ronmis
Split String without spaces into multiple strings
I've got a string like so "The_quick_brown_fox_jumps_over_the_lazy_dog"
I want to add a space every 10 characters to it only if those 10 characters don't alreay have a space
so I'm hoping for a result like this
"The_quick_ brown_fox_ jumps_over _the_lazy_ dog"
But if the String was this
"The quick brown fox jumps over the lazy dog"
then it should remain the same.
I want to add a space every 10 characters to it only if those 10 characters don't alreay have a space
so I'm hoping for a result like this
"The_quick_ brown_fox_ jumps_over _the_lazy_ dog"
But if the String was this
"The quick brown fox jumps over the lazy dog"
then it should remain the same.
Invocations: