Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.

strReplace

(This command has been awarded a Yubnub Golden Egg)

http://jonathanaquino.com/yubscripts/strings/stringmanip.php?command=strreplace&find=${find}&replace=${replace}&string=${string}&xn_auth=no
NAME
    strReplace - replace all instances of a character or string found within another string

SYNOPSIS
    strReplace -find [TEXT TO FIND] -replace [TEXT TO SUBSITUTE IN] -string [STRING TO BE SEARCHED]

EXAMPLES
    strReplace -find pizza -replace hot dogs -string I like pizza.   (returns: I like hot dogs.)
    strReplace -find a -replace o -string Banana Camera   (returns: Bonono Camero)

DESCRIPTION
    Replaces all instances of a string or character with another string or character, and
    returns the resulting string. This command IS case sensitive. 

    A solitary space character can be indicated in -find or -replace by using either " " or %20.

AUTHOR
    Allen Ormond <aormond (at) fromrocks (dot) com>
    
283215 uses - Created 2005-08-13 19:16:44 - Last used 2023-12-28 09:31:10
Is this command broken? Tell Jon if you know how to fix it.