> aaa='/p/v2/api/winapi/adapter/lgj'
> print(string.find(aaa, "^/.+/adapter/(.*)"))
1 28 lgj
> aaa='/p/v2/api/winapi/adapter/lgj/zy/l'
> print(string.find(aaa, "^/.+/adapter/(.*)"))
1 33 lgj/zy/l
> print(string.gsub('lgj/zy/l','/',':'))
lgj:zy:l 2
> print(string.sub('lgj/zy/l',1,5))
lgj/z
> print(string.find(aaa, '"(.+)"'))