Removes the following illegal file name characters from a string / ? < > \ : * | "
SppRemoveInvalidFilenameCharacters([Text])
Where:
Text is the text for which invalid filename characters will be removed.
Rule | Result | Meaning |
---|---|---|
SppRemoveInvalidFilenameCharacters("My:file?Name*") | MyfileName | Will remove characters that are illegal to use in a file name. |