The Artima Developer Community
Sponsored Link

Java Buzz Forum
Java Coding: How To Find Number of Characters in a String (!= String.length())

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Angsuman Chakraborty

Posts: 19816
Nickname: angsuman
Registered: Dec, 2003

Angsuman Chakraborty is the CEO and Chief Architect at Taragana
Java Coding: How To Find Number of Characters in a String (!= String.length()) Posted: Nov 7, 2005 9:05 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Angsuman Chakraborty.
Original Post: Java Coding: How To Find Number of Characters in a String (!= String.length())
Feed Title: Simple Thoughts on Java
Feed URL: http://sedoparking.com/search/registrar.php?domain=®istrar=sedopark
Feed Description: News and views as a Software Architect and Entepreneur on Java and related Technologies.
Latest Java Buzz Posts
Latest Java Buzz Posts by Angsuman Chakraborty
Latest Posts From Simple Thoughts on Java

Advertisement
Length of string can be interpreted variously - number of chars in the string number of characters in the string number of bytes in the string String.length() gives you the number of chars in the string accurately. However a char is not necessarily a complete character. Why? Supplementary characters exist in the Unicode charset. These are characters that have [...]

Read: Java Coding: How To Find Number of Characters in a String (!= String.length())

Topic: Trouble free backups, Part Two - SSH Keys for trouble free authentication Previous Topic   Next Topic Topic: Enterprise Tool Smells

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use