How do I replace/erase Text

Get help using Construct 2

Post » Fri Nov 14, 2014 4:39 pm

Hi all

I have a text object with a text.
At runtime i need to erase only the first 5 letters of this text.

Example:

Before.
Text = Programming is nice to do within a program.

After.
Text = amming is nice to do within a program.

I hope u have the answer for me.
Have checked the expressions of textobject but no luck.

Kind Regards
Savvy001
B
59
S
21
G
14
Posts: 779
Reputation: 13,927

Post » Fri Nov 14, 2014 4:54 pm

You'll need to use the RIGHT expression under "System Expressions - Text

righttext.capx
You do not have the required permissions to view the files attached to this post.
B
46
S
23
G
7
Posts: 459
Reputation: 6,763

Post » Fri Nov 14, 2014 6:15 pm

@Minor
Thank u so much!
Its perfect.
B
59
S
21
G
14
Posts: 779
Reputation: 13,927


Return to How do I....?

Who is online

Users browsing this forum: diamantico21, ratboy3 and 45 guests