- From: Martin Duerst <duerst@w3.org>
- Date: Mon, 31 May 2004 17:07:00 +0900
- To: "Neil Goldman" <ngoldman@teknowledge.com>, <www-rdf-rules@w3.org>
- Cc: "Neil Goldman" <ngoldman@teknowledge.com>
This may be a bad idea. In English, a lot of functions on strings can be implemented by using functions on individual characters of the string. So a 'charAt' function seems very tempting. But in many other languages, things are not as simple as that. Of course this depends on the operation and the language. Regards, Martin. At 16:45 04/05/28 -0700, Neil Goldman wrote: >I believe the string builtins should provide a means to get to an >individual character, not just to a string of length 1. >It would suffice to provide: > >swrlb:charAt >Satisfied iff the first argument is equal to the character code of the >character in the string second argument appearing at index third argument > >===================== > >Neil Goldman Tel: (310)578-5350 x204 >Teknowledge Corporation Fax: (310)578-5710 >Suite 1010 >4640 Admiralty Way >Marina del Rey, CA 90292
Received on Monday, 31 May 2004 04:13:36 UTC