If the game you are playing is the one being described, try this: double-tap the A button to dash quickly to the left, then jump.
Keep in mind that this kind of move only works in specific titles, so it may do nothing at all in the version you have. If it fails, let us know the exact game name and platform for a more precise answer.