Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Cattle Drive
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Cattle Drive
OOP-2: parsing strings
Gerald Dettling
Greenhorn
Posts: 9
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Anybody got some hints on what
String
method to use to determine if there is a dash "-" in a string? I am stuck on converting strings that have two parts (like twenty-one) from a String to an integer.
Lance Finney
Ranch Hand
Posts: 133
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you looked at the API? It's a method with several different signatures.
Michael Matola
whippersnapper
Posts: 1843
5
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Look back through some instructor's solutions, too...
Gerald Dettling
Greenhorn
Posts: 9
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks for the tips... I used the substring method in the API to split up the string.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
splitting arrays
Splitting String at "."
Does interning a String improve performance?
compareTo
containers
More...