Social Media Research

02 R Data Analysis


Question

Split the following string: hello


Answer

strsplit("hello", ""), Output: h e l l o




Comments

> strsplit("hello", "")
[[1]]
[1] "h" "e" "l" "l" "o"