This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Java in General
strings and regular expressions.
Joined: Mar 16, 2004
Nov 23, 2011 15:20:57
I am given the the following
that I need to process.
frame= 71 fps= 0 q=32.0 size= 12kB time=1.93 bitrate= 50.2kbits/s dup=0 drop=69
I need to grab the text after "time=" In perl I remember being able to easily grab the word or words after the matched
Does Java support such a feature?
If I split the stirng, "time=XXXX" does not consistantly appear in the same position in the string array. There has to be some simple way extract the word that follows "time="
CIAO Peter M. Cooke
Joined: Oct 14, 2005
Nov 23, 2011 15:23:38
Yes, Java supports regular expressions.
Joined: Jan 03, 2004
Nov 23, 2011 16:24:47
subject: strings and regular expressions.
Making a binary to decimal converter
Reverse the words in a string
Garbage Collection question
Obtaining data from form elements
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014