VBScript String Clean function - replace illegal characters

38 views
Skip to first unread message

WebmasterHub .net

unread,
Dec 20, 2009, 10:50:28 AM12/20/09
to Web Programing & SEO
This article provides a function written in VBScript which removes illegal characters from a string. The illegal characters are specified in an array at the beginning of the function. The function is passed the string which may contain illegal characters, which then processes the string to remove or replace any illegal characters. The code also allows you to specify the character or word which will replace specific illegal characters. The illegal characters provided in the function are included for processing strings which will become the filename of a document or list item in SharePoint, which has a number of characters which are not accepted.

VBScript String Clean function - remove or replace illegal characters

Daniel

unread,
Dec 30, 2009, 1:28:51 AM12/30/09
to Web Programming & SEO

Daniel

unread,
Dec 30, 2009, 1:32:07 AM12/30/09
to Web Programming & SEO
Reply all
Reply to author
Forward
0 new messages