浙江省高等学校教师教育理论培训

微信搜索“毛凌志岗前心得”小程序

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

D:\TDDOWNLOAD\hbase-0.90.5\hbase-0.90.5\lib\commons-lang-2.5.jar

StringUtils (Commons Lang 2.5 API)

join

public static String join(Object[] array)

Joins the elements of the provided array into a single String
containing the provided list of elements.

No separator is added to the joined String.
Null objects or empty strings within the array are represented by
empty strings.

 StringUtils.join(null)            = null
 StringUtils.join([])              = ""
 StringUtils.join([null])          = ""
 StringUtils.join(["a", "b", "c"]) = "abc"
 StringUtils.join([null, "", "a"]) = "a"
 
posted on 2012-03-27 11:15  lexus  阅读(1516)  评论(0编辑  收藏  举报