Use this tag for questions about separating an item (e.g. a string) into parts, often by a delimiter or regular expression.
It is most often applied when splitting a string by a delimiter, such as when parsing a comma separated value file. Some languages such as Ruby and Java support splitting a string according to regular expression as well.
A split string produces an array of strings.
split can also refer to
- the perl
splitfunction - the ruby
String#splitmethod - the python
str.splitmethod - the php
explodefunction. - the javascript
splitmethod - the java
splitmethod - the c#/vb.net/vba
String.Splitmethod - the unix/linux
splitcommand line utility - the
sql-server STRING_SPLITfunction
All these functions/methods split strings on a delimiter.
The split function in r divides data into groups by a specified factor.