Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6223329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:28:13+00:00 2026-05-24T08:28:13+00:00

I am quite confused here. Today I came across this concept of AttributedString .

  • 0

I am quite confused here. Today I came across this concept of AttributedString. But I am not able to find the exact difference for String and AttributedString. And more ever I am not able to convert this attributed String to String using the toString(). Can anyone help me with this?

EDIT 1

Actually I want to provide Kerning attrribute for my text. But I don’t know how to do it. Can anyone help me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T08:28:13+00:00Added an answer on May 24, 2026 at 8:28 am

    A String is a holder for some consecutive list of characters, usually known as “text”. "Hello World" is a String. It’s a general-purpose data type that’s used a lot all throughout Java.

    An AttributedString holds text and some attributes. Attributes can be pretty much anything. Usually it’s used for taggin some parts of the text with some language or even providing information about layout arguments (bold, italics, …). It’s a very specific data type that’s used for some specific areas only.

    Unless you have a specific reason to use AttributedString, you can pretty much forget that it exists.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is probably quite simple.. but I don't know what's the best practice here.
I'm not sure exactly how to phrase this, but here goes: I have a
This I think may be a silly question, but I have become quite confused
This is getting me quite confused: I have a small application that uses a
I am quite confused about the difference between an index on table and index
I am quite confused... I am reading here and BasicClientCookie clearly implements Serializable per
I am getting quite confused as to where I am getting this compiler error
I am quite confused. I should be able to set <meta http-equiv=X-UA-Compatible content=IE=edge />
I've been trying hard to understand this, but can't quite put a finger on
I am currently reading some C++ source code, and I came across this: double

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.