klyn.io.xml.dom.XMLNames.prefix
method
public static prefix(qualifiedName as String) as String:
Description

Returns the part before the first namespace separator.

Parameters
ParameterDescription
qualifiedNameQualified name to inspect, or null.
Returns

Prefix, or null when the name is null or has no separator.

Example
print(XMLNames.prefix("books:title"))  # books