1. split

scala中的split函数参数传的是字符,不是字符串,例如:

line.split('|')
# 不能用 line.split("|")

results matching ""

    No results matching ""