VBScript String Clean function - remove or replace a set of characters

13 views
Skip to first unread message

WebmasterHub .net

unread,
Dec 30, 2009, 1:27:09 AM12/30/09
to Web Programing & SEO, web-devel...@googlegroups.com
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

http://www.code-tips.com/2009/04/vbscript-string-clean-function-remove.html

http://groups.google.com/group/web-programming-seo/browse_thread/thread/9ebe27782db28888

http://forums.webmasterhub.net/viewtopic.php?f=27&t=1170

http://forums.webmasterhub.net/viewtopic.php?f=27&t=53

http://www.webmasterhub.net/display.php?c=VB

Daniel

unread,
Dec 30, 2009, 1:29:52 AM12/30/09
to Web Programming & SEO
http://groups.google.com/group/microsoft.public.scripting.vbscript/browse_thread/thread/e38b0c10f14ae87f

On Dec 30, 5:27 pm, "WebmasterHub .net" <webmasterhub....@gmail.com>
wrote:


> 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
>

> http://www.code-tips.com/2009/04/vbscript-string-clean-function-remov...
>
> http://groups.google.com/group/web-programming-seo/browse_thread/thre...

Daniel

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