idAddAffixes {webdeveloper}R Documentation

Add a prefix and suffix to an id

Description

Add a prefix and suffix to an id

Usage

idAddAffixes(prefix, id, suffix, prefix_sep = "X", suffix_sep = "-")

Arguments

prefix

A string, the prefix to add.

id

A string to add a prefix and suffix to.

suffix

A string, the suffix to add.

prefix_sep

A string, the prefix separator to use. This should be different than suffix_sep.

suffix_sep

A string, the suffix separator to use. This should be different than prefix_sep.

Value

A string.

Examples

idAddAffixes("group1", "example", 1)

[Package webdeveloper version 1.0.5 Index]