O'Reilly logo

Java™ for COBOL Programmers, Third Edition by John C. Byrne

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

8 Strings, StringBuffers, StringBuilders, Numbers, and BigNumbers

This chapter explores text manipulations and number-related classes and methods.

STRINGS

Java provides a String class that developers can use to hold and manipulate character strings (that is, a sequence of chars). The COBOL developer may recognize Strings as the equivalent of the PIC X(x) definition, and they are generally similar. However, Java’s native String handling functions are far superior to COBOL’s notoriously weak character manipulation support. Further, Strings are real ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required