substitute.char: Replace a character in a string with a new character

View source: R/clanToolsFunctions.R

substitute.charR Documentation

Replace a character in a string with a new character

Description

Replace a single character.

Usage

substitute.char("abxdefg","x","c")

Arguments

st

is the string

find.char

is the character to be replaced

new.char

is the new character

Value

The string with the replaced character

Author(s)

Claus E. Andersen


claus-e-andersen/clanTools documentation built on Nov. 30, 2024, 11:06 p.m.