二者可以实现同样的功能
语法:
Join(sourceArray, [delimiter])
Implode(sourceArray, [delimiter])
Concatenates all members of an Array of Strings and returns a string. Elements of the Array are separated by a delimiter, if provided, or the space character (" ").
如:
doc.HtmlBody = doc.HtmlBody(0) + {<td><a href="/}+doc.DBPath(0)+{/0/}+pdoc.UniversalID+{?OpenDocument&Login" target="_self">}+Join(pdoc.bu,"<br>")+{</a></td>}
是使用换行符来隔开各元素
如果觉得我的文章对您有用,请点赞。您的支持将鼓励我继续创作!
赞0
添加新评论0 条评论