Empty String

RacingDog

Active Member
Licensed User
OK, you've probably realised this language is a minority interest for me and that I prefer and use things like Delphi and sundry C++'s and several others (Ada for example) on a PC or bigger. So occasionally I'm going to ask a daft question as I'll never be an expert with this language.

The latest one is this.....

I can find no way to represent a null string. The best I can manage is to manually declare "Dim EmptyString As String" a never assigned to Global (or Public on a bigger project). This seems a bit clumsy when most languages have a simpler way of representing this concept (such as "").

Have I understood this correctly? Any particular reason for not implementing this?

Does my method simply give an undefined rather than null string? Should I do something more, like assigning " " then delete the space character to leave a zero length, but defined string? There is a distiction between these two cases in some languages, but not others.
 

RacingDog

Active Member
Licensed User
Dang. It's a while since I tried, so I can't remember exactly what I was doing, but something similar caused an error, hence the above.
 
Top