Get highest numeric value from an array using liquid

175 views Asked by At

I need help in liquid code. I am getting some values inside an array like: tags: [teacher, student, test_123, test_12345, unregistered] In my scenario I just need highest numeric value 12345 which is available as string as test_12345 in the above array. And I need to get this done through liquid code. Any help or suggestion will be highly appreciated. Thanks in advance

0

There are 0 answers