String operations

For questions about using Classic.

Post » Sat Apr 23, 2011 10:18 am

How to make string operations on texts in Construct?

I home this para-code explains what I mean:
[code:12wam0yw]first("exampletext",5) returns "examp"
last("exampletext",3) returns "ext"
substring ("exampletext",2,4) returns "ampl"[/code:12wam0yw]
B
55
S
14
G
10
Posts: 287
Reputation: 7,677

Post » Sat Apr 23, 2011 11:15 am

The wiki will answer this: http://sourceforge.net/apps/mediawiki/c ... xpressions

(scroll down to the category "Text" and look for left, right and mid)

The wiki is always a good starting point. Many of the various ACE are explained there ;)
Image
B
24
S
8
G
10
Posts: 1,821
Reputation: 8,279

Post » Sat Apr 23, 2011 2:34 pm

Thanks. Very helpful site.
B
55
S
14
G
10
Posts: 287
Reputation: 7,677


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests