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
53
S
14
G
10
Posts: 282
Reputation: 7,578

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
23
S
8
G
10
Posts: 1,820
Reputation: 8,242

Post » Sat Apr 23, 2011 2:34 pm

Thanks. Very helpful site.
B
53
S
14
G
10
Posts: 282
Reputation: 7,578


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 9 guests