Method: TrimAsFileName( … ) Updated October 15, 2025 16:02 Syntax Example Returns a new string by removing any characters that are not valid to use in filenames. Syntax string TrimAsFileName( object content, bool includeExtension = false ) Example var 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.