charAt() in a String with Construct 2

Get help using Construct 2

Post » Thu Apr 11, 2013 8:41 pm

Hi I just want to have some characters of a String with construct, something like the function charAt() in Java.

For example from the string "1-1" I want to have the part "1" with something like string.charAt(0)

Thanks in advance
BTW, construct 2 rules!
B
15
S
3
G
3
Posts: 37
Reputation: 3,627

Post » Thu Apr 11, 2013 9:20 pm

Text commands are in the manual here:
Manualblackhornet2013-04-11 21:20:31
ImageImageImage
B
67
S
19
G
121
Posts: 3,196
Reputation: 72,879

Post » Thu Apr 11, 2013 10:51 pm

Oh, I supposed that if I use "mid(text, index, count)" I'll get what I want

Thanks for your quick answer!

See ya!
B
15
S
3
G
3
Posts: 37
Reputation: 3,627


Return to How do I....?

Who is online

Users browsing this forum: CavalierBubble, Evanetot and 24 guests