[Gambas-user] Issue 297 in gambas: square bracket and LIKE
gambas at ...2524...
gambas at ...2524...
Mon Aug 6 14:46:53 CEST 2012
Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 297 by Kokok... at ...626...: square bracket and LIKE
http://code.google.com/p/gambas/issues/detail?id=297
1) Describe the problem.
Can't compare strings that contains "[]" using LIKE
2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
Version: 3.2.1
3) Provide a little project that reproduces the bug or the crash.
Dim a As String = "/music/album-[artist]-song"
Dim b As String = "documents/music/album-[artist]-song.ogg"
'return false here:
Debug b Like "*" & a & "*"
'it also says that [a] = [a],
'but [a] like [a] also returns false!
--------
Maybe it is an expected behaviour, but how can accomplish that task?
More information about the User
mailing list