PEAR Manual
Prev |  | Next

# File_SearchReplace::setReplace()

File_SearchReplace::setReplace() -- set replace string

## Synopsis

    require_once 'File/SearchReplace.php';

``void File_SearchReplace::setReplace` (mixed $replace)`

## Description

Set the replacment string.

## Parameter

- `mixed $replace` - the string/regex or arrays of them to replace found string/regex with.

## Note

This function can not be called statically.

## See

File_SearchReplace constructor()

Prev | Home | Next
File_SearchReplace::setIncludeSubdir() | Up | File_SearchReplace::setSearchFunction()