This topic is locked
[SOLVED]

API query operators - is there a way to achieve 'starts with' ?

3/17/2023 5:40:32 AM
ASPRunner.NET General questions
D
david powell author

Hi

I have anotherAPI query I cant find an answer to:

There are operators for 'equals' and 'contains' like this:
list&q=(alldetails~contains~island)(name~equals~something)

But is there a way of achieving

list&q=(alldetails~startswith~island)(name~equals~something)

Or having a wildcard perhaps in the search phrase like

list&q=(alldetails~equals~island*)(name~equals~something)

which would do the same thing....

Many thanks!

admin 3/17/2023

Run advanced search in interactive mode using 'Starts with' option. Note the URL and use in your API queries.

D
david powell author 3/17/2023

I should have thought of that. Many thanks