•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 391,588 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,668 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 228 | Replies: 1
![]() |
•
•
Join Date: Jan 2008
Posts: 36
Reputation:
Rep Power: 1
Solved Threads: 0
Hello...
I need to add a special character to a string as follows..
String ok = "I am the man"+specialChar;
However, when I print "ok" later,without taking substring, I just want to see
"I am the man "
with the special character but will be invisible and will have just a space.
The reason I want to do this is because I want to distinguish the regular strings with the strings invisible special character.
How can I do this? Any help would be greatly appreciated.
Thanks!
I need to add a special character to a string as follows..
String ok = "I am the man"+specialChar;
However, when I print "ok" later,without taking substring, I just want to see
"I am the man "
with the special character but will be invisible and will have just a space.
The reason I want to do this is because I want to distinguish the regular strings with the strings invisible special character.
How can I do this? Any help would be greatly appreciated.
Thanks!
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb Java Marketplace
Similar Threads
- Outlook Express Help please (Windows NT / 2000 / XP / 2003)
- Shellcode Generation (Assembly)
- library catalogue program (C++)
- Several C++ Designing Questions (C++)
- Success! But roadblock... (Python)
- Visual Problem. (game related) (Windows NT / 2000 / XP / 2003)
- HTML4 , web page do not display few characters(soft hyphen), Marathi(LangscapeDevpooj (ASP)
- CPU and RAM always in a really high capacity (Viruses, Spyware and other Nasties)
- Forms Authorization/ Authentication using asp .net and vb .net (ASP.NET)
Other Threads in the Java Forum
- Previous Thread: about servlet
- Next Thread: Programming help needed


Linear Mode