this page will give you the amount of characters like letters numbers in a string or a sentence or a paragraph to find out how many digits are in a number for example you can use it for count the number of characters in a letter or paragraph or phrase.

This sometimes helpful, for example when you are doing your homework and you want to know how many characters a paragraph contains so you can turn in your paperwork, but you first have to find out how many characters a paper documents contains, otherwise, you can file. another way i use this little script is sometimes when i am programing i want to limit the number of characters or letters i want a form to have and this can do that for me.

Try It!!


If you are interested in the simple code, here it is:

<p>Script Provided By Webune.com!</p>
<script language="JavaScript" type="text/javascript">
function counter(){
	Content = document.getElementById('content').value;
	document.getElementById('ShowChracters').value = Content.length;
	
}
</script>

<form method="GET">
<textarea id="content" rows="9" cols="58" wrap="virtual"></textarea><br><br>
<input type="button" value="Show Characters" onClick="counter()"> 
<input type="text" id="ShowChracters" size="10" style="color:#F00; padding:3; border:solid 1px #F00;" readonly>
</form>
NOTE: this script was tested ok on firefox 3 and internet explorer 8