Loading TOC...

MarkLogic 12 EA 2 Product Documentation
rdf.langStringLanguage

rdf.langStringLanguage(
   val as rdf.langString
) as String

Summary

Returns the language of an rdf.langString value.

This function is a built-in.

Parameters
val The rdf:langString value.

Example

rdf.langStringLanguage(rdf.langString("http://foo/bar", "en"));
=> en

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.