latest
Text
Replace Text

Replace all occurrences of a specific text fragment with another

ID

662ae7a510b6cb87640c92cd

Name

Replace Text

Group

Text

Package

Tool

Keywords

rep
textRepl

Surface

Vector

Transform

Primitive Curves

Curve Analysis

Toolset

Triangulation

Boolean Operation

Panels

Solid

Intersection

Text

Image

Analysis

Array

Creation method

There are two options for creating a Replace Text node.

  • The first way to create a Replace Text node using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need, or words associated with this node.
    • rep , textRepl
  • The second way is to select a Replace Text node from the menu that opens from the top left.
    • Menu > Tool > Text > Replace Text

Steps

  • Create a Replace Text node.
  • Connect the text to modify to the first port.
  • Connect the fragment text to replace to the second port.
  • Connect the optional fragment text to replace with to the third port.

After creating a node, to the first port, connect the text to modify, connect the fragment text to replace to the second port, and the optional fragment to replace with to the third port. If the optional fragment is blank, all occurrences of fragments will be removed. On the output port, we will get the result of text replacement.

See also

Characters
Text Join
Concatenate
Text Case

Inputs

NameTypeDescriptionDefault Value
text
String
Text to modify
find
String
Fragment to replace
replace
String
Optional fragment to replace with

Outputs

NameTypeDescription
result
String
Result of text replacement