Hi I tried to trim a link in flutter Currently I am looking into regexp but I think that is not possible This is the link in full: http://sales.local/api/v1/payments/454/ticket/verify?token=jhvycygvjhbknm.eyJpc3MiOiJodH What I am trying to do is to trim the link like this: http://sales.local/api/v1/payments/454 Kindly advise on best practise to trim string/text in flutter. Thanks! Continue reading...