UiPath Documentation
activities
latest
false

Productivity activities

FindAndReplaceText

Finds and replaces the text inside a Google document.

Namespace: UiPath.GSuite.Activities.API

Assembly: UiPath.GSuite.Activities.API (in UiPath.GSuite.Activities.API.dll)

Syntax

void FindAndReplaceText(
	IDocument document,
	string searchTerm,
	string replacement,
	bool matchCase = false,
	TextRecurrences recurrences = TextRecurrences.Once
)
void FindAndReplaceText(
	IDocument document,
	string searchTerm,
	string replacement,
	bool matchCase = false,
	TextRecurrences recurrences = TextRecurrences.Once
)

Parameters

document IDocument : The Google document to replace text from.

searchTerm String : The text to replace.

replacement String : The replacement text.

matchCase Boolean (Optional) : Specifies if the searched searchTerm should also match case.

recurrences TextRecurrences (Optional) : How many recurrences to replace.

  • Syntax
  • Parameters

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated