If string123 how can a robot check this condition?
If you declare a variable and initialize a value like that in Studio, UiPath will take it as a generic value .
If you want to change the data type, you can change in the variables section below the pane.
Could you be more specific what you are trying to achieve.
If you are checking that your string is equal to 123 or not , than you can do like this .
Take one if activity .
Give condition - stringVariable.equals(“123”)
You can put log message to check it is equal to 123 or not.