[Plugin] Character(s) replace - deprecated

Post your completed addons to share with the community

Post » Mon Feb 06, 2012 8:03 pm

Hi,
this is a plugin for replacing character(s) in a string.

There is only one expression :

replaceChar("oldCharacter(s)","newCharacter(s)","theText",0 or 1)

0.. replace only first match in the text
1.. global replacement


charRepl - Demo, Plugin

All suggestions are welcome.

Joe7
Joe72012-02-07 09:58:00
B
14
S
6
G
5
Posts: 173
Reputation: 4,752

Post » Mon Feb 06, 2012 8:31 pm

Great Plugin!

More and more users are making it so we can use C2 for applications aswell as games! It's truly great
B
30
S
13
G
7
Posts: 740
Reputation: 8,044

Post » Mon Feb 06, 2012 8:31 pm

Um, don't mean to burst your bubble, but there are two expressions under system.
find(src, text)
replace(src, find, rep)


System expressions
Image ImageImage
B
171
S
50
G
179
Posts: 8,382
Reputation: 113,458

Post » Mon Feb 06, 2012 8:54 pm

Agreed with newt.
I would rather avoid listing this plugin as it is better to go with the system expression whenever possible.
In this case I'm not sure your plugin provides a "more useful" function than the one already present in C2.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,310
Reputation: 71,084

Post » Mon Feb 06, 2012 10:12 pm

ok. haven't seen that's already built in.
B
14
S
6
G
5
Posts: 173
Reputation: 4,752

Post » Mon Feb 06, 2012 10:14 pm

Why not just add more to the plugin? That way it has a purpose
B
30
S
13
G
7
Posts: 740
Reputation: 8,044


Return to Completed Addons

Who is online

Users browsing this forum: Anonnymitet and 1 guest