My [sub] strings are hiding!
Brachylog, 2 bytes
sp

Try it online!
Explanation
Input variable = &quot;Hello World!&quot;, Output variable = &quot;d!rl&quot;

(?)s        Take a substring of the Input variable
    p(.)    It is a permutation of the Output variable