6 Replies Latest reply on Jul 9, 2016 7:46 AM by Carla@home

    How to remove the first characters of a liquid string

    Carla@home Level 2

      I would like to remove the first three characters of a liquid string. The question is how.

       

      If I use the following liquid markup when I know what the first characters are

      {{this.{["Estate Status"] | strip_html | remove_first: '11.'}}

       

      it will remove the characters 11.

       

      But if I don't know what the first characters are, what markup do I have to use to get "rid" of the first three characters?

      I've tried "split" and "slice" but you always have to know what characters to split or slice.

       

      Thanks for any help.

      Kind regards,

      Carla