W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2005

Re: Checking character count

From: David Dorward <david@dorward.me.uk>
Date: Wed, 8 Jun 2005 18:45:19 +0100
To: w3c-wai-ig@w3.org
Message-ID: <20050608174519.GB18626@us-lot.org>

On Wed, Jun 08, 2005 at 06:30:52PM +0100, Alice Good wrote:

> Does anyone know whether it is possible to check for the number of 
> characters in a block of text?

It is. How you do that rather depends on the programming language you
are working in.

Simple Perl example: 

  perl -e "print scalar split '', 'The quick brown fox'";

David Dorward                                      http://dorward.me.uk
Received on Wednesday, 8 June 2005 17:45:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:32 UTC