[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,742

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
29
S
13
G
7
Posts: 740
Reputation: 7,899

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 Image
B
163
S
48
G
99
Posts: 7,435
Reputation: 71,492

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
252
S
86
G
42
Posts: 7,035
Reputation: 59,160

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,742

Post » Mon Feb 06, 2012 10:14 pm

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


Return to Completed Addons

Who is online

Users browsing this forum: RayKi and 4 guests