
split()
grammar: stringObject.split(separator, howmany)
|parameter | description|
|-|-|
|separator|howmany|
|needed. string or regular expression|optional. number of substrings|
e.g.
“2:3:4:5”
1 |
split(":"); |
Integer
Integer.parseInt(str)
convert the str to the int
1 |
t[0] = "25"; |




近期评论