I have a java program, which takes a string as input. I need to check, if the length of the string is zero. If the length is zero, i need to pass an empty string of 2 bytes to the DB2 Stored procedure.
The SP expects a string of 26 bytes.
Can anybody please help!
SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.