Hello EveryOne
In my project I have to parse a string in Quotes as without Quotes.I tried
the following code but it didn't work to me.
I again getting the string with Quotes, Can Anybody suggest me where I went
wrong?
Thanks in advance.
code:
strAssociation = "rundll32.e xe"
If strAssociation. StartsWith("""" ) Then
strAssociation = Trim(Mid(strAss ociation, 2))
If strAssociation. IndexOf("""") > 0 Then
strAssociation = Left(strAssocia tion,
strAssociation. IndexOf("""") - 1)
End If
End If
In my project I have to parse a string in Quotes as without Quotes.I tried
the following code but it didn't work to me.
I again getting the string with Quotes, Can Anybody suggest me where I went
wrong?
Thanks in advance.
code:
strAssociation = "rundll32.e xe"
If strAssociation. StartsWith("""" ) Then
strAssociation = Trim(Mid(strAss ociation, 2))
If strAssociation. IndexOf("""") > 0 Then
strAssociation = Left(strAssocia tion,
strAssociation. IndexOf("""") - 1)
End If
End If
Comment