belle
作者belle·2013-05-27 16:34
软件开发工程师·IT

Join和Implode 链接函数

字数 511阅读 731评论 0赞 0

二者可以实现同样的功能 

语法:

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 条评论

Ctrl+Enter 发表

作者其他文章

相关问题

相关资料

X社区推广