checkForInvalidPathCharacters

Check the passed string whether it contains characters invalid in a path-declaration:

  • <

  • >

  • :

  • "

  • |

  • ?

  • *

  • #

  • %

  • &

  • {

  • }

  • $

  • !

  • @

  • ´

  • `

  • =

Return

true if none of these characters were found.

Author

Griefed

Parameters

text

The text you want to check.