How to play a animation from the Mth Frame to the Nth Frame?

here is a animation(100 Frames),and i want to play a particular part of it(for example from 9th frame to 19 frame),what shoud i do?thx!

and i need a script scheme,setting animation in inspector is not what i want(because ‘M’ and ‘N’ could change frequently in runtime).

You would create the clip at runtime.
But be aware that the corresponding operation is nothing you can do at runtime while playing potentially. You will still have to do it at loading point