首页 相关文章 JavaScript split() 方法

JavaScript split() 方法

Definition and Usage

定义与用法

The split() method is used to split a string into an array of strings.

split()方法用于将一个字符串分解成一个数组对象。

Syntax

语法

stringObject.split(separator, howmany)

Parameter

参数

Description

注释

separator

分隔符

Required. Specifies the character, regular expression, or substring that is used to determine where to split the string

必选项。指定的字符,字符串或正则表达式,作为分解用的分隔符

howmany

[ 查看全文 ]

2016-02-19 标签:

JavaScript split() 方法的相关文章

手机页面
收藏网站 回到头部