File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
MessageFormat Help ?
Joined: Aug 04, 2003
Dec 29, 2004 05:10:00
I am reading a
from a file which look like this
the length of the string is not fix.
i want to read the first three number ignoring the rest.
public class messageformat
public static void main(String args) throws
mf = new
String message = "12^45^67^45^34^56^43^32^297^O^36^35^35^35^35^1^50^26";
Object obj = mf.parse(message);
for(int i=0; i<obj.length; i++)
The output is
but i only want 1st three numbers i.e 12, 45, 67
how to i do ?
i am also looking for some good examples of how to use
please help ...
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: MessageFormat Help ?
Another question on Synchronization and Locks
toString() method invoked
Convert Into Java Code.
Project Euler problems with Scala
string extraction by giving position as first argument in command prompt
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013