Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove "" from Write

Status
Not open for further replies.

damzi

Programmer
May 3, 2004
66
0
0
US
Am unable to find a way to remove "" from my script below. The output file includes the "" and these need to be removed.

write #3,"okay"
write #3," & Left$(sLoopFilename, Len(sLoopFilename) - 4) & "<CubeUrl>"
write #3,Format(Now, "dmmmyy h:mm:ss")

Any idea or help will be greatly appreciated.

Am also trying to add & "<CubeUrl>" to the url passed in the above script. But the output file does not pick up this portion of my script. Thank you !
 
damzi,
where does the "" occur?
If you add a couple of lines in place of the write #3, "http..etc
like

Code:
Dim strprompt as string

strprompt = "[URL unfurl="true"]http://<servername>/cognos/cgi-bin/ppdsisapi.dll?DC=Q&E=%2FCISC+Cubes%2F"[/URL] & Left$(sLoopFilename, Len(sLoopFilename) - 4) & "<CubeUrl>"
MsgBox strprompt
Write #3, strprompt
what gets shown on screen?

soi la, soi carre
 
Tried that solution - it still outputs the "" used in the script. Am trying to get rid of the inverted commas in my output.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top