Chr(10) How?

Discussion and feedback on Construct 2

Post » Fri Dec 16, 2011 12:52 pm

Hi friends!!! (Thanks for new update!!!!)
Im using tokenat() function to create an array of strings. But now I need to use a character 10 as a separator. How can I convert a character 10 to a string ?
Obs. I searched the strings but found no functions to do this...
Obs2. I cant change the 10 to another char...
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
21
S
5
G
6
Posts: 166
Reputation: 4,885

Post » Fri Dec 16, 2011 1:36 pm

Character 10 is a newline isn't it? So use the newline system expression.
Scirra Founder
B
357
S
214
G
72
Posts: 22,946
Reputation: 178,228

Post » Fri Dec 16, 2011 3:21 pm

Yes friend, but I want a funcion like PHP chr(), then '10' was just an example.
Thanks
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
21
S
5
G
6
Posts: 166
Reputation: 4,885

Post » Fri Dec 16, 2011 3:53 pm

What are any of the other characters useful for?
Scirra Founder
B
357
S
214
G
72
Posts: 22,946
Reputation: 178,228

Post » Fri Dec 16, 2011 5:48 pm

Vinians,

Perhaps @mipey's plug-in might help?

Mipey's Extra Expressions

Specifically, code2char.Wastrel2011-12-16 17:50:02
Don't see the fnords and they won't eat you!
B
75
S
16
G
12
Posts: 322
Reputation: 11,608

Post » Fri Dec 16, 2011 6:08 pm

[QUOTE=Ashley] What are any of the other characters useful for?[/QUOTE]
Im accessing others PHP applications thats uses some especial chars.

[quote]
Vinians,

Perhaps @mipey's plug-in might help?

Mipey's Extra Expressions

Specifically, code2char.
[/quote]
Thanks a lot! Its exactly what I was needing!

@Ashley Pls include this features on the next version, its really usefull fome some of us.
Thanks.
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
21
S
5
G
6
Posts: 166
Reputation: 4,885


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests