Basic: Like Statement

Creating a macro - Writing a Script - Using the API (OpenOffice Basic, Python, BeanShell, JavaScript)
Post Reply
eeigor
Posts: 214
Joined: Sun Apr 12, 2020 10:56 pm

Basic: Like Statement

Post by eeigor »

The Like statement is supported by Basic, but is not mentioned in the documentation. Should it be used in code?
"abc" Like "*[abc]*" returns True.
Ubuntu 18.04 LTS • LibreOffice 7.5.3.2 Community
JeJe
Volunteer
Posts: 2784
Joined: Wed Mar 09, 2016 2:40 pm

Re: Basic: Like Statement

Post by JeJe »

Sure, why not... there are several features of the Microsoft Basic language family which have been cloned but aren't in the help file. Assume they work the same unless you discover otherwise.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Post Reply