Convert text into a string item

Hi,

Question,

  1. I got an output of the karamba support component (string?)
  2. I reconstructed the same item based on text (text)

However, when I do the ‘match text’ component, is says that is is not the same = false
This while the textual parts are exactly the same…

I have a feeling that this has something to do with: string item vs text item.

Bottom line question;
Is it possible to convert a text item into a string item?

Any suggestions? thanks :slight_smile:

2021-01-26 Karamba text vs string.gh (14.1 KB)

String is just what programmers call text. It’s the same thing.

Two things you have to pay attention to when matching strings:

  1. Certain characters have special meaning in the pattern string. They act as wildcards. Top of my head the asterisk and the question mark, but there may be others that currently slip my mind.
  2. Whitespace may differ yet be invisible.

However since the panel with the False content isn’t actually connected to your TMatch component I can’t tell you more just from looking at the screenshot.

Ahh haha sorry, see the updated picture above (and GH file).
hmm so there are no options to ‘fully’ read the total text (incl wildcards), and replace only specific parts?

The thing is that I would only be able to change the - false - true - 0 -1 in this text :slight_smile:

Thanks :slight_smile: