Changing the order of arguments in ruby sprintf
- by railscoder
Is it possible to change the order of parameters to sprintf fun?
like sprintf(" this is %arg[2] test %arg[1]" , arg1, arg2)
i need to dynamically change the order of the arguments. so is that possible with sprintf?