Holger,
I suppose you refer to the function smf:lastIndexOf.
However I was highly confused by the documentation.
Description: Gets the last index of the first occurence of a
certain substring in a given search string. Returns null if the
substring is not found.
Shouldn't this be: Gets the index of the last occurence of a certain
substring?
Paul
On Jan 12, 2:49 pm, Holger Knublauch <[email protected]> wrote:
> Yes, you already gave the explanation yourself. This function is based on the
> Jena IRI splitting algorithm, which starts at the right and stops at the
> first separator character. If you dislike this behavior, you could look for
> the index of the last '/' character and return the substring from there,
> using other string functions.
>
> Holger
>
> On Jan 12, 2010, at 3:26 AM, PaulZH wrote:
>
> > SELECT ?ln
> > WHERE {
> > LET (?ln := afn:localname(<http://dbpedia.org/resource/
> > Belle_de_jour_(film)>)) .
> > }
>
> > doesn't return anything.
>
> > I suppose it has to do with the '()' in the URI.
>
> > Paul
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "TopBraid Composer Users" group.
> > To post to this group, send email to
> > [email protected].
> > To unsubscribe from this group, send email to
> > [email protected].
> > For more options, visit this group
> > athttp://groups.google.com/group/topbraid-composer-users?hl=en.
--
You received this message because you are subscribed to the Google Groups
"TopBraid Composer Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/topbraid-composer-users?hl=en.