String Uppercase / Operator in String

Discussion and feedback on Construct 2

Post » Sat Jul 16, 2011 10:07 pm

1. Is Construct 2 capable of converting the string into uppercase or downcase? If yes, how? I've been looking in Construct 2 and can't find them.

2. Will there be conditional operator support for the strings? I can't get them to work for the text object or text variable. Example:
[code]A>B ? "Yes" : "No"[/code]
B
8
S
1
G
1
Posts: 13
Reputation: 788

Post » Sun Jul 17, 2011 12:52 am

1. I'll add this for the next build.
2. Oops, looks like a bug. However, it seems to work if you put the condition in brackets, e.g.:
(A > B) ? "Yes" : "No"
I'll see if that can be fixed too.
Scirra Founder
B
366
S
217
G
82
Posts: 23,260
Reputation: 183,580


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests