Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 3:00 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
PostPosted: Thu Aug 17, 2006 10:29 pm 
Offline
Newbie

Joined: Mon Feb 21, 2005 12:41 am
Posts: 25
Hi,

This was code that was added in the winventory Audit.vbs by tomo_xy, see this link:

[url]http://winventory.sourceforge.net/phpbb2/viewtopic.php?t=814&start=0&postdays=0&postorder=asc&highlight=[/url]

[code]
function clean(value)
if isnull(value) then value = ""
value = Replace(value, chr(34), "")
value = Replace(value, chr(39), "")
value = Replace(value, vbCr, "")
value = Replace(value, vbLf, "")
value = Replace(value, "'", "")
value = Replace(value, "\", "\\")
value = Replace(value, "\0", "\0")
if right(value, 1) = "\" then
value = left(value, len(value) -1)
end if
if right(value, 1) = "\" then
value = left(value, len(value) -1)
end if
if right(value, 1) = "/" then
value = left(value, len(value) -1) + " "
end if
clean = value
end function [/code]

It would be great if it could be added again.

Cheers,


Rudi.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group