Re: Details of string operations

On 02/12/10 06:10, Gregory Williams wrote:
> On Dec 1, 2010, at 5:30 PM, Andy Seaborne wrote:
>
>> ENCODES(string)
>
> You use "ENCODES" consistently in this email, but [1] had just "ENCODE". Is this a design decision or an oversight?

Just a typo - corrected

>
>>    STARTS("abc"@en, "a"@en-UK) ->  false  *** (could be error)
>
> What about the reverse order: STARTS("abc"@en-UK, "a"@en) ->  ?

Same - false or error as we decide.

>> If the strings are a mix of simple literals, xsd:strings and LitLang and there are two or more different language tags
>>    ->  xsd:string
>>
>> CONCAT("abc"@en, "def"@en-UK, "z"^^xsd:string) ->  "abcdefz"
>
> Based on your description, that should result in "abcdefz"^^xsd:string, right?

Yes, you're right.

	Andy

>
> thanks,
> .greg
>
> [1] http://lists.w3.org/Archives/Public/public-rdf-dawg/2010OctDec/0283.html
>

Received on Thursday, 2 December 2010 09:29:40 UTC