Probably... it depends what you mean by pulling out $mid()s. An example of how you want that to work would help.