- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 3
- Posts with Downvotes
- 3
- Downvoting Members
- 1
Re:
Hi! I'd like to check if a string contains spaces: [CODE]System.out.println(text2.getText().matches("\\s+"));[/CODE] This code returns 'false' for both "My string" and "MyString". But I need 'true' for "MySpace". How could I do this? Thanks! |
|
Re:
Hi, I am taking my first Java class this semester, and I have run into an assignment that just has me stumped: I am to write a program that will count the number of occurrences of each letter in a string the user inputs. It is in a section discussing … |
|
Re:
I'm trying to write a program that checks if a input string value contains any capital letters. Is there a way to do this in java? |
|
Re:
Hello I have write some code to read a specific word from a text file. The file is located in a specific folder. In the folder there are multiple files, i want to read first the file that is upload first in the directory. After I have read file, I … |