Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Number of characters returned by converting to hex?

Posted on 2002-05-14
1
210 Views
Last Modified: 2010-03-31
Hi,
I have a string field of size 20 chars. If i convert this string to a hex equivalent. What is the maximun numbers of characters that this hex equivalent can be?.
i.e. what is the maximum size that the new string can be?
0
Comment
Question by:seoirse
1 Comment
 
LVL 9

Accepted Solution

by:
Venci75 earned 50 total points
ID: 7008320
the char is 2 bytes (unicode)
you need 2 hex symbols for each byte
20 * 4 = 80
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
check java version using powershell 13 177
tomcat startup error 5 104
ejb on wildfly 5 30
jboss 7.1 start up error 1 40
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question