str=""
                  for each i in 数组
                           str=str&cstr(i)&","
next

解决方案 »

  1.   

    $arr = implode(",", $str);
      

  2.   

    str=""
                      for each i in 数组
                              if str="" then
                                   str=cstr(i)
                              else
                                   str=str&","&cstr(i)
    next
      

  3.   

    str=""
                      for each i in 数组
                              if str="" then
                                   str=cstr(i)
                              else
                                   str=str&","&cstr(i)
                              end if
    next
      

  4.   

    哈,正确答案终于出现了,这个函数还真没用过 thks!!