ASP / VB ASSISTANCE PLEASE
#1
If I have a string "Vulnerability1" which currently reads "Absence of Personnel, Improper Disposal of Media - i.e. disposal of media which hasnt been wiped clean, Inadequate Recruitment Procedures" and I want to strip the "Absence of Personnel, " off it and leave variable "Vulnerability2" to read "Improper Disposal of Media - i.e. disposal of media which hasnt been wiped clean, Inadequate Recruitment Procedures" how would you do it?
My best attempt:
vulnerability2 = right(vulnerability1,instr(vulnerability1,"Absence of Personnel, "))
My best attempt:
vulnerability2 = right(vulnerability1,instr(vulnerability1,"Absence of Personnel, "))
#7
I removed the square brackets, and replaced the : for a = and it errors:
Error Type:
Microsoft VBScript runtime (0x800A0005)
Invalid procedure call or argument: 'Right'
/new_cit/risk/exploits/exploits1.asp, line 51
Error Type:
Microsoft VBScript runtime (0x800A0005)
Invalid procedure call or argument: 'Right'
/new_cit/risk/exploits/exploits1.asp, line 51
Trending Topics
Thread
Thread Starter
Forum
Replies
Last Post