How do I: Compare two strings in an expression

Get help using Construct 2

Post » Thu May 25, 2017 6:17 pm

How do I compare two strings in an expression?

more specifically use the conditional operator inside an expression; for example: textBox.text [is equal to] "" ? [do some action] : [do some other action].

Thanks
B
7
S
2
Posts: 14
Reputation: 512

Post » Thu May 25, 2017 7:27 pm

You just need to set the TextBox.Text to a variable, and than compare that.
B
20
S
3
Posts: 52
Reputation: 1,073


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests