I have a label that has attributed text. I want to achieve something look like this image. sample label
Subcategory and price text should be left and right alignment respectively and in a single line. There is some space before Subcategory text. Please provide any sample code for this kind of attributed text.