how can I write a super or sub char in string
Jump to Post
short answer: you can't.
long answer: superscript and subscript are font properties, a string only stores characters, it doesnt store any formatting data.
You would need to apply the subscript or superscript when you display the text, in a label/terxtbox/printed format/etc. This is when you would apply the …
All 3 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.