ReplaceAll Method

Summary

Replaces the content of all SearchResult elements with a new content.

Syntax

TypeScript
JavaScript
SearchResults.prototype.replaceAll = function( 
   replaceContent 
) 
replaceAll( 
   replaceContent: string 
): SearchResult[]; 

Parameters

replaceContent

The new content to replace.

Return Value

An array of the affected SearchResult elements.

Remarks

Use this method to modify data across multiple search-identified locations in a workbook, streamlining the process of updating, correcting, or standardizing data based on search outcomes.

Requirements

Target Platforms

See Also

SearchResults Class

SearchResults Members

Leadtools.Document.SheetEditor Namespace

Help Version 23.0.2024.5.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.SheetEditor Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.