triqs_dft_tools.converters.elk.ElkConverter.split_string2

ElkConverter.split_string2(line, str)

This removes the excess information after ‘str’ of the string read in from the file