Fixed STNDRD #793

merged 4 commits into from Aug 25, 2014


None yet

3 participants


With the old function, STNDRD(111) would return "st", and not "th" as expected.

It is also ~350% quicker in standard Lua, unsure of LuaJIT.

willox commented Aug 23, 2014

I pointed out to someone recently that using string.sub (string.Right) here was silly. I like this pull!

@robotboy655 robotboy655 merged commit ce2ecf3 into garrynewman:master Aug 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment