Data Science : Working on strings in R
In Data Science, when we analyse data we usually do not deal just with numbers. We often find ourselves to work on data in a string form. As defined by Per Christensson (2006), a string is a data type used in programming, such as an integer and floating point unit, but is used to represent text rather than numbers. It is comprised of a set of characters that can also contain spaces, numbers and many of the symbols used in everyday work (hyphens, currency symbols, etc.).