def find_stem(stratified_string: str):
    """
    find the stem of the compartment name as the text leading up to the first occurrence of the joining string
    should run slightly faster than using find_name_components
    """
    return stratified_string.split("X")[0]