Was spricht dagegen das in der Programmiersprache deiner Wahl zu erledigen? In php geht das z.B. mit explode() sehr flott, und ich vermute das es auch in anderen Sprachen einfach geht.
In php:
Code:
$stringcounts = array;
//die daten aus der db holen und eine schleife darüber
while($row = ...){
$parts = explode('_', $row[0])
foreach($parts as $idstr){
if(isset($stringcounts[$idstr])) $stringcounts[$idstr] ++;
else $stringcounts[$idstr] = 1;
}
}
print_r($stringcounts[$idstr]);
jak
____________________________________
Join the DNRC |
Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)