An example of such wordplay would be like.

I made a riddle = A potd o batted

I replaced I with A, M with P, A with O, D with T, R with B, and L with E.

I am sorry if this is confusing. It's simply like an anagram but not using the same letters.