Method: TrimAsFileName( … ) Updated August 13, 2026 12:27 Returns a new string by removing any characters that are not valid to use in filenames.Syntaxstring TrimAsFileName( object content, bool includeExtension = false )Examplevar myName = "Name*Of<File.txt"; Name = TrimAsFileName( myValue ); // Name is now "NameOfFile" Was this article helpful? 0 out of 0 found this helpful Comments 0 comments Please sign in to leave a comment.
Comments
0 comments
Please sign in to leave a comment.