.. index:: Geometry Nodes; Replace String
.. _bpy.types.FunctionNodeReplaceString:

*******************
Replace String Node
*******************

.. figure:: /images/node-types_FunctionNodeReplaceString.webp
   :align: right
   :alt: Replace String node.

The *Replace String* node replaces a string segment with another.


Inputs
======

String
   Standard string input.

Find
   The substring to find in *String* to be replaced.

Replace
   A string segment which replaces occurrences of the *Find* substring.


Outputs
=======

String
   Standard string output.


Examples
========

.. figure:: /images/modeling_geometry-nodes_text_replace-string_example.png
   :align: center

   Using the node to add the newline character to a string.
