Substrings in attributes - changing schemas