PeterWindle

Recursive custom function... a task I'm trying to get my head around it

Discussion created by PeterWindle on Oct 31, 2015
Latest reply on Nov 2, 2015 by user19752

I have given myself a task.

 

I am attempting to create a recursive custom function to do the following:

 

Take a word like this:

 

Peter Windle

 

and change it to something like this :

 

P:e:t:e:r: :W:i:n:d:l:e

where the ":" is separating each character within the text, so in affect, I want to grab each character in the field, one at a time, until the end of the text. I have a reason for this, but I will reveal that later ! ;-)

 

I've looked at many samples of recursive functions, but I have not really found a solution, partly because I am still trying to get my head around the recursive functionality and partly because other examples are not quite the same as what I'm aiming for.

 

Any hints, suggestions, solutions?

Outcomes