PullNumbers: Pulls numbers out of a variable that has both numbers and...

Description Usage Arguments Value Author(s) See Also

Description

Uses regular expressions to remove numbers from a variable that has both numbers and text. For example, if given "8 hours" it would return 8.

Usage

1
PullNumbers(variable)

Arguments

variable

a variable that contains text and numbers

Value

An object the size as the argument, but modified to remove alpha characters.

Author(s)

Amelia McNamara

See Also

gsub


mobilizingcs/MobilizePrime documentation built on May 23, 2019, 5:07 a.m.