[Tool/Web/Other] Character Counter
#1

This download unavailable until source is provided.
Reply
#2

What usefull tool. Thank you I gonna use it
Reply
#3

It's easily done dude. Any beginner in C# or VB.net can do it. You just do
Code:
label1.Text = textBox1.Text.Length.ToString() + " Characters";
and can also be done in PAWN
Reply
#4

Quote:
Originally Posted by ******
View Post
Are you aware that pawno, Notepad++, and most other editors anyone uses already has this built in?
Not to contradict you, but I never saw this in pawno, could you tell me how to use this feature in the IDE mentioned?
Reply
#5

lawl, rofl. Didn't you ever hear about strlen(text); ? well, if you didn't, you use this function to get the size of the string or the number of characters. The return value is an int.
You can use it like this:
pawn Code:
new length = strlen("Hey samp");
and the result would be 8
for more info, click here: https://sampwiki.blast.hk/wiki/Strlen
Reply
#6

I just use OpenOffice's built in word counter... :S
Reply
#7

If your script was large, it would be highly irritating having to do that. Is it not easier pasting it into this? I'd prefer doing so, but everyone is different I guess.
Reply
#8

Ain't that system bugged?

"a b" this says 6 (counting the tab as 4 slots due on the code the indent is set to fit 4 slots, but the truth is, that a tab character is ('\t') so it should say 3 and not 6.

Still i did never realize of that, so thx.
Reply
#9

Then it's my bad. Always learning things Thx ******
Reply
#10

small bump.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)