- read a string
- examine the first character of the string with String.charAt(0), which looks at the first character stored with the string
- then, for characters 'S', 'T', and 'R', use a switch on that character
Friday, April 24, 2009
201 how to read Tri data
The best mechanism I have found for reading the characters 'P', 'S', etc. in the data file is this:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment