Hashes will sort out uniqueness independently of how random the input is.
The only problem you'll run into is that things like System_Config would be split into two (unlike what you seem to want according to your sample), even if you stop splitting after 4 underscores (which is the minimum depth required for getting a separate L2 entry). So you'd have to invent some additional logic to determine how deep to split...
In reply to Re^3: String parsing
by almut
in thread String parsing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |