Skip to contents

The goal of angrybunny is to make splitting one string easier.

Installation

You can install the development version of angrybunny from GitHub with:

# install.packages("devtools")
devtools::install_github("jennybc/angrybunny")

Example

This is a basic example which shows you how to solve a common problem:

library(angrybunny)

x <- "alfa,bravo,charlie,delta"
str_split_one(x, pattern = ",")
#> [1] "alfa"    "bravo"   "charlie" "delta"