How to write LotusScript instead @right(string;",")

Hello, It was failed runung with the LotusScript below,

string=Evaluate(|@Right(picklist,“,”)+" " +@Left(picklist,“,”)|)

Would you please tell me how to revise it?

Actually, I would like to use LotusScript instead of @right(str1;“,”)+" “+@left(str1;”,")

Thanks,

Linda

Subject: how to write LotusScript instead @right(string;“,”)

Linda,

Do you mean something like this

pos% = instr ( 1, picklist, “,” )

if pos% > 0 then

string = right$ ( picklist, len ( picklist ) - pos% ) & " " & left$ ( picklist, pos% - 1 )

I sometimes mess up whether it’s pos% - 1 or + 1, etc., so check my math, but that’s the idea.

regards,

raphael

Subject: RE: how to write LotusScript instead @right(string;“,”)

Thanks Raphael for your responding quickly.

It works fine

Thanks a lot!

Linda