[Tool/Web/Other] Character Count - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Tools and Files  (
https://sampforum.blast.hk/forumdisplay.php?fid=82)
+---- Thread:  [Tool/Web/Other] Character Count (
/showthread.php?tid=321776)
 
Character Count - 
iTorran -  28.02.2012
Character Count
Well, while i was scripting i needed the length of a string..
Normally i would just ****** for one and use the first one i found.
After a while i got bored of continuously googling and thought i might aswell create a simple app for it that i can leave running.
Well thats all it is really, you put your string into the text box and it will tell you the length! :P
I know this is very basic, and i didnt intend to release it but someone told me to so i am.
 
EXE: 
http://www.mediafire.com/?l461040zl88d7o8
Source: 
http://www.mediafire.com/?q74obwglhf39s5i
Re: Character Count - 
CyNiC -  28.02.2012
I'll no more use a site for this, thanks.
Re: Character Count - 
Rockstαr -  28.02.2012
Bloody cool! its helpful..
It selects specified string? or just the default?
Re: Character Count - 
FuTuяe -  28.02.2012
Thanks for this 
 
edit: Any possibility that you can make it that it allows me to do ctrl + a so I can select all my text at once to remove it?
Re: Character Count - 
TheArcher -  28.02.2012
Very helpful.  Thanks for sharing.
Re: Character Count - 
iTorran -  28.02.2012
Quote:
| 
					Originally Posted by CyNiC  I'll no more use a site for this, thanks. | 
 
Quote:
| 
					Originally Posted by TheArcher  Very helpful.  Thanks for sharing. | 
 No problem 
 
Quote:
| 
					Originally Posted by Rockstαr  Bloody cool! its helpful..It selects specified string? or just the default?
 | 
 What do you mean?
Quote:
| 
					Originally Posted by FuTuяe  Thanks for this    
edit: Any possibility that you can make it that it allows me to do ctrl + a so I can select all my text at once to remove it? | 
 Added, please redownload 
 
Re: Character Count - 
FuTuяe -  28.02.2012
Thanks alot 
 
Re: Character Count - 
Littlehelper -  28.02.2012
Its Great!
Nice Release.
Re: Character Count - 
Rockstαr -  28.02.2012
mm.. nvm Thanks for this..
Re: Character Count - 
iTorran -  28.02.2012
Quote:
| 
					Originally Posted by Littlehelper[MDZ]  Its Great!Nice Release.
 | 
 Thanks.
I am open to suggestions on improvement etc 
 
Re: Character Count - 
Kutter -  28.02.2012
Nice, I want it since 10000 years xD
Re : Character Count - 
mehdi-jumper -  28.02.2012
Yes, very usefull 
 
Re: Character Count - 
iTorran -  28.02.2012
Quote:
| 
					Originally Posted by ******  I didn't even realise people did things like look this up on a website!  I just use a good editor (Notepad++): | 
 There are some people (like me) that dont use anything but pawno :P
Re: Character Count - 
iTorran -  28.02.2012
Oo, used it for years and not once did i notice that..
Re: Character Count - 
Ballu Miaa -  28.02.2012
Quote:
| 
					Originally Posted by ******  Hmm, what a shame you can't do it in PAWNO, oh wait...     
15 - 1 = 14 | 
 Haha you just owned everyone Bro!
Re: Character Count - 
iTorran -  28.02.2012
The app is still useful though 

If you just use pawno and nothing else that can tell you the character/string count! :P
For example this is how i do it:
pawn Code:
new query[];
format(query, sizeof(query), "SELECT * FROM `Accounts` WHERE `Username` = '%s'", GetName(playerid));
 
Then i'd normally goto ****** (now using this app) and paste the query into it..
Code:
SELECT * FROM `Accounts` WHERE `Username` = '%s'
 Get the length, round it off to the nearest 5 then
 
Re: Character Count - 
Nodroz -  28.02.2012
Maybe a button to erase all text inside?
Re: Character Count - 
iTorran -  29.02.2012
Quote:
| 
					Originally Posted by Nodroz  Maybe a button to erase all text inside? | 
 Ctrl-A + Backspace/Delete
Re: Character Count - T0pAz -  29.02.2012
Quote:
| 
					Originally Posted by ******  I didn't even realise people did things like look this up on a website!  I just use a good editor (Notepad++):  | 
 I agree with him.
Re: Character Count - 
Niko_boy -  29.02.2012
thank you <3