FIND AND REPLACE NAMES

Performs a find-and-replace operation on the names of all curves in a curve group, substituting every occurrence of a specified old name string with a new name string. Use this worker when you need to bulk-rename or standardise curve labels before downstream processing or reporting.

When to use

Classification: process.

Tagged: batch_rename, curve_group, curve_names, find_and_replace, rename, transformations.

Inputs

Label ID Type Default Required Description
Curve Group curvegroup vector   The curve group (one or more curves) whose names will be searched and replaced; supply a multi-curve vector — all curves whose name matches find_name will be renamed.
Find Name find_name scalar   The exact existing curve-name string (or substring) to search for; every curve whose name contains this value will be targeted for renaming.
Replace Name replace_name scalar   The new name string that replaces every match of find_name; leave blank only if you intentionally want to strip the matched portion from all curve names.

Outputs

Label ID Type Description
curves_find_and_replace_names_output_1 curves_find_and_replace_names_output_1 vector The updated curve group with all matching curve names replaced by the new name string; structure and data values of each curve are unchanged.

Disciplines

  • data.curve.pair

Runnable example

A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curves_find_and_replace_names


Auto-generated from transformation schema. Worker id: curves_find_and_replace_names. Schema hash: c54af019c3ba. Hand-curated docs in workerexamples/ override this page when present.