In a current project I store a list of file names in an array. After
several days of tracking down odd behavior using this list I've
discovered Apple, in it's infinite wisdom has used file names with
hidden characters. The most obvious are the hidden Icon files which
are used to alter the appearance of a file or folder. They have
either a CR or LF for a fifth character in it's name. There are
others. Is there a RegEx or encoding way to strip out all hidden
characters in a string? Or, is there another way - other than the
obvious way of walking the string and examining each character. I
guess what I'm trying to say is there an elegant way of doing this?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>