powered by
Combine two in a manner similar to `paste()` strings using the default combine type
combinePaste2( a, b, combineType = c("default", "snake", "camel", "dot", "blank") )
Combined strings separated with `defaultCombine()`
first string to combine
second string to combine
is the type of combination; can be:
- "default": default combine (set with `defaultCombine()`)
"default"
- "camel": camelCase combine
"camel"
- "snake": snake_case combine
"snake"
- "dot": dot combine (i.e. "a.b")
"dot"
- "blank": no separator (i.e. "ab")
"blank"
Matthew L. Fidler
combinePaste2("f", "depot") combinePaste2("f", "depot", "snake") combinePaste2("f", "depot", "dot") combinePaste2("f", "depot", "blank")
Run the code above in your browser using DataLab