public static String determineCollectionFromId ( final String id ) { final int delimiter = id . indexOf ( KEY_DELIMITER ) ; return delimiter == - 1 ? null : id . substring ( 0 , delimiter ) ; }
Provides a substring with collection name .