How to remove all strings after question mark in MySQL query
P粉921165181
P粉921165181 2024-03-29 21:23:16
0
1
358

I have a list of URLs like http://mydomain/app?u=asdfa&b=fnsn with different number of parameters. I want to remove all strings after the question mark and get different urls.

P粉921165181
P粉921165181

reply all(1)
P粉014218124
substring_index(url, '?', 1)

Will return everything before the first one? Or if not then the entire URL?

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template