Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 297 by kokok...@gmail.com: 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?


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to