Within my flow, I'm processing an "Apply to each" loop to get image names collected from my Microsoft Form.
Below is an example of my Compose step, which is retrieving the name of my image and replacing blank spaces with underscores....

That will help my image name go from the image file.jpg to the_image_file.jpg
But what can I do to append a random value from 1 - 100 to the end of the name, but before the extension, so it looks like the_image_file_10.jpg, or the_image_file_57.png, or the_image_file_98.gif. It all depends on the file format the end-user submits, but the random value should be there regardless.
Many thanks on any tips