grapes-s-grapes: substring in the way of pipe operator

Description Usage Arguments Details Value Examples

Description

substring in the way of pipe operator

Usage

1
x %s% yz

Arguments

x

Vector or NULL, values to be substringed

y.z

A character or 0.digit to call substr

Details

This functions is a pipe version of substr

Value

A string or NULL

Examples

1
2
3
4
'NFKA008' %s% '1.4'
'NFKA008' %s% .4
'where is' % % ('the pig is in the cornfield' %s% '1.7') %+% '?'
'NFKA008' %s% 5.7

GuillaumePressiat/stringfix documentation built on Dec. 25, 2021, 12:24 a.m.