How to escape wildcard chars - and find the offset of a '?' in a URL?

Mark Wieder ahsoftware at sonic.net
Sun Mar 14 13:01:45 EDT 2021


On 3/14/21 9:27 AM, BT via use-livecode wrote:
> Hi folks,
> What’s the correct the syntax needed to escape a question mark so that its offset can be found in a URL string?
> 
> I get zero returned by put offset(“?”, tURL) and put offset( "?\",tURL) and put offset( numToCodepoint(Ux003F),tURL) throws errors.

Works for me too, but...

are those 'smart quotes' in your first example? That may be the problem.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list