Re: Java and Unicode

From: Valeriy E. Ushakov (uwe@ptc.spbu.ru)
Date: Thu Nov 16 2000 - 10:44:46 EST


On Thu, Nov 16, 2000 at 05:58:27 -0800, Elliotte Rusty Harold wrote:

> public char charAt(int index)
>
> This method is used to walk strings, looking at each character in
> turn, a useful thing to do. Clearly it would be possible to replace
> it with a method with a String return type like this:
>
> public String characterAt(int index)

And what method you will use to obtain the (single) character in the
returned string? :-)

SY, Uwe

-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:15 EDT