Amount of Characters in a String

For questions about using Classic.

Post » Thu Mar 05, 2009 7:29 pm

Is there any way to count the number of characters in a string?
B
2
S
2
G
4
Posts: 136
Reputation: 1,722

Post » Thu Mar 05, 2009 7:53 pm

len?
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Thu Mar 05, 2009 7:57 pm

Len? What?
B
2
S
2
G
4
Posts: 136
Reputation: 1,722

Post » Thu Mar 05, 2009 7:59 pm

Oh. I get it.
Thanks.
B
2
S
2
G
4
Posts: 136
Reputation: 1,722

Post » Thu Mar 05, 2009 10:19 pm

Len(string) is the System Expression that returns the number of characters in string. it has been added to the System Expressions wiki page.

Edit: took https out of URL -AG
B
2
S
2
G
4
Posts: 171
Reputation: 1,792


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: GameOverBeast and 1 guest