Skip to contents

Parse numbers from text section

Usage

parse_numbers(x, header = "")

Arguments

x

String of characters with target text.

header

String with the header of the target section.

Value

Numeric vector.

Examples

parse_numbers("Distance:  9  40  200", "Distance:")
#> [1]   9  40 200