M
Middletree
My results after doing some stuff are going to have names separated by
commas. Example:
James & Beth Williams John & Mary Smith Ross & Rachel Gellar Willy & Wanda
Wonka
But the number of names is variable, so I put in commas between each one.
Then I end up with:
, James & Beth Williams, John & Mary Smith, Ross & Rachel Gellar, Willy &
Wanda Wonka
This is almost what I need, except that first comma. To get rid of it, I
tried doing a replace of the first character on the left, like this:
strFullName = Replace(strFullName,Left(strFullName,1),"")
However, this is yielding weird results.
What am I doing wrong in my replace function?
commas. Example:
James & Beth Williams John & Mary Smith Ross & Rachel Gellar Willy & Wanda
Wonka
But the number of names is variable, so I put in commas between each one.
Then I end up with:
, James & Beth Williams, John & Mary Smith, Ross & Rachel Gellar, Willy &
Wanda Wonka
This is almost what I need, except that first comma. To get rid of it, I
tried doing a replace of the first character on the left, like this:
strFullName = Replace(strFullName,Left(strFullName,1),"")
However, this is yielding weird results.
What am I doing wrong in my replace function?