prefix(forName:)
Returns the prefix from the specified qualified name.
Declaration
class func prefix(forName name: String) -> String?Parameters
- name:
A string that is a qualified name.
Discussion
For example, if the qualified name is “bst:title”, this method returns “bst”.