Skip to contents

Extracts the Nth numeric value from a formatted tplyr2 string.

Usage

str_extract_num(x, index = 1L)

Arguments

x

Character vector of formatted strings

index

Integer, which numeric value to extract (1-based)

Value

Numeric vector