Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / IRange Interface / replace Method / replace(Object,Object,ReplaceOptions) Method
The string you want to search for.
The replacement string.
The replace options.
In This Topic
    replace(Object,Object,ReplaceOptions) Method
    In This Topic
    Search in formulas and replace. Using this method doesn't change either the selection or the active cell.
    Syntax
    int replace( 
       java.lang.Object what,
       java.lang.Object replacement,
       ReplaceOptions options
    )

    Parameters

    what
    The string you want to search for.
    replacement
    The replacement string.
    options
    The replace options.

    Return Value

    Number of cells that was replaced.
    See Also