Get Substring

Get help using Construct 2

Post » Tue Sep 08, 2015 4:53 am

hi all,

i want to get a substring from a string by start possistion and length of substring, but there is no function to do this,

please help me!
B
3
Posts: 1
Reputation: 179

Post » Tue Sep 08, 2015 5:08 am

There is a built in expression to do this, called mid(). For example, mid("a string", 2, 3) returns "str". Refer to the system expression manual page for other useful expressions.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,126


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests