README.md
December 5, 2022 ยท View on GitHub
Description
This Function Adds quotes to a filename... especially useful when sending
an arguement to a program (ie a filename) and it has spaces in it (with spaces
if shows up as multiple arguements.
More Info
str is the String to add quotes to.
No real "user notes" here...except it was a pain to think this one up =)
The Fixed String
| Submitted On | |
| By | Digital |
| Level | Beginner |
| User Rating | 4.2 (67 globes from 16 users) |
| Compatibility | VB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0 |
| Category | String Manipulation |
| World | Visual Basic |
| Archive File |
API Declarations
None
Source Code
Public Function addQuotes(ByVal str As String) As String
addQuotes = Chr(34) & str & Chr(34)
End Function