ODBiC Discussion Board

add a comma

by Dave, January 22, 2007 07:29

Hello -

I have several size variables all laid out in a row: $size1$ $size2$ $size3$ $size4$

I want to add a comma, or some other separator, so it looks better at the end of each variable, excluding the one at the very end: $size1$, $size2$, $size3$, $size4$

I tried using this: SET size1 = $repl($size1$, " "=",")

but the size can contain multiple words such as "One Size Fits All" so you get "One,Size,Fits,All".

Is there anyway to get "One Size Fits All," with the comma just at the end?

Thanks! Dave


Post Your Reply:

E-mail  optional

HTTP Link: 
Link text: 


Copyright ©1997-2003, Roger Harris. All rights reserved.