RicardoLuis
De uma olhada no método split da classe String.
Ele solucionará seu problema.
Java_Vinicius_Machin
Se tiver caracteres ’ ’ (branco, espaço…e mais um monte de sinônimos) entre os separadores e as palavras recomendo StringTokenizer.
API:
The following is one example of the use of the tokenizer. The code:
StringTokenizer st = new StringTokenizer("this is a test");
while (st.hasMoreTokens()) {
System.out.println(st.nextToken());
}
prints the following output:

ramilani12
Ou vc poderia fazer assim:
StringTokenizer st = new StringTokenizer("Produto1 # Fornecedor5" , "#");
while (st.hasMoreTokens()) {
System.out.println(st.nextToken());
}
Passando o delimitador que seria “#”
PorkaSolta_CHAPOLIM
Vlw Galera, funciona certinho!!!