Hi all,
If i have (for example) a directory structure, where the names can have
ANY character in them, what would be the best method for finding a
'unique series of characters' to use as a separator?
For instance, the structure could look like this:
!"£$%^&*()_+123 4567890-
QWERTYUIOP{}qwe rtyuiop[]
ASDFGHJKL:@~asd fghjkl;'#
|ZXCVBNM<>?\zxc vbnm,./`¬
then im stuck for using a single character (lets pretend that all the
extended characters have been used aswell - it could happen, and most
likely will if i dont prepare for it), so i have to use two characters
for the separator. But of course, all the two character combinations
could have been used (yes, that's 65536 characters - but it's
possible).
So, how would YOU do it :-)
Cheers,
James.
If i have (for example) a directory structure, where the names can have
ANY character in them, what would be the best method for finding a
'unique series of characters' to use as a separator?
For instance, the structure could look like this:
!"£$%^&*()_+123 4567890-
QWERTYUIOP{}qwe rtyuiop[]
ASDFGHJKL:@~asd fghjkl;'#
|ZXCVBNM<>?\zxc vbnm,./`¬
then im stuck for using a single character (lets pretend that all the
extended characters have been used aswell - it could happen, and most
likely will if i dont prepare for it), so i have to use two characters
for the separator. But of course, all the two character combinations
could have been used (yes, that's 65536 characters - but it's
possible).
So, how would YOU do it :-)
Cheers,
James.
Comment