\name{replaces} \alias{replaces} \title{Replace all occurences of a specified character in a string by a new character} \description{ \code{replaces} This function helps to replace characters in a string. } \usage{ replaces(x,old,new,...) } \arguments{ \item{x}{The strings where the replacements should occurr.} \item{old}{The character or vector of characters that should be replaced.} \item{new}{The character or vector of characters with whom the old characters should be replaced.} \item{...}{Additional parameters. Not used yet.} } \details{ This function replaces character strings with the one submitted. This function can only be applied to single strings. Use the \code{replaceAll} to apply it to vectors of strings. } \references{} \author{Johannes Rainer} \seealso{ \code{\link{replaceAll}} } \examples{ replaces("there are to much white spaces",old=" ","+") } \keyword{data}