In Stylus it's as easy as split('1/2', '/')[0] (which will split a string value at a certain delimiter, in the example it would return 1), in Sass I needed a huge function to do it. I don't see a way to natively do this in LESS or a function for doing this anywhere.
Anyone know of a way to do this?