strmap {roxygen}R Documentation

Map through the words in a string, joining the mapped...

Description

Map through the words in a string, joining the mapped words with a separator.

Usage

strmap(proc, sep, string)

Arguments

proc procedure to apply to each word
sep the separator joining the mapped words
string the string to be mapped

Details

General enough to be designated `map': isn't it closer to a specialized reduce?

Value

Mapped words separated by sep


[Package roxygen version 0.1 Index]