Jagdev Singh
Active Member
Hi Experts
Could you please help me understand why are we using Rept funtion in the below formula.
This is the name "Belling,Birgitta,Mrs." I need "Mrs.".
I get the desire output with the formula - =TRIM(RIGHT(SUBSTITUTE(B22,",",REPT(" ",99)),99))
Please let me know what is Rept doing here.
Regards,
JD
Could you please help me understand why are we using Rept funtion in the below formula.
This is the name "Belling,Birgitta,Mrs." I need "Mrs.".
I get the desire output with the formula - =TRIM(RIGHT(SUBSTITUTE(B22,",",REPT(" ",99)),99))
Please let me know what is Rept doing here.
Regards,
JD