This custom node provides the capability to manipulate multiple string inputs.
https://github.com/wolfden/ComfyUi_String_Function_Tree
git clone https://github.com/wolfden/ComfyUi_String_Function_Tree
comfy node install ComfyUi_String_Function_Tree