List l_section = new ArrayList();for (int i = 0; i < m_categorie.length(); i++) { int index = m_categorie.indexOf("\\", i); if (index != -1) { l_section.add(m_categorie.substring(i, index)); i = index; } else { l_section.add(m_categorie.substring(i, m_categorie.length()); break; }}
import java.util.Arrays;List<String> l_section = Arrays.asList(m_categorie.split("\\\\"));
import java.util.Arrays;List l_section = Arrays.asList(m_categorie.split("\\\\"));