Function cif::split_item_name

Function Documentation

std::tuple<std::string, std::string> cif::split_item_name(std::string_view item_name)

return a tuple consisting of the category and item name for item_name

The category name is stripped of its leading underscore character.

If no dot character was found, the category name is empty. That’s for cif 1.0 formatted data.