Can you please help me with this simple (not for me:) issue
Why this doesnt work?
public void spl ()
String a=("moon.sun");
String [] f=a.split(".");
System.out.println(f[0]);
}
The second expression to split() is a regular expression. A period in a regular expression matches all characters, and you're wanting it to just match a period.
To match just the period for your split, you'll need to escape it:String[] f = a.split("\\.");
Similar Messages
-
Hey guy can you please help me with this issue PLEASE!
Hey Apple can you please help me with this issue, i have a iPhone 3gs and when i put my sim card into the iPhone it makes iphone 3gs shut down suddenly how do i fix that?
iPhone version: 6.0.1
service provider: Vodafone nzYou could restarting your phone that sometimes fixes issues
Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for phone to restart (no data will be lost). -
Hi, I'm stuck at step 9. I don't see my external harddrive when I want to save the DMG backup file. Can you please help me with this? I'm desperate to make this backup! Big thanx in advance!
http://support.apple.com/kb/HT1553Repair permissions and restart your computer. If this does not work, zap the pram. You should now see your external hard drive.
-
I tried to downgrade my iCloud and when i did it never refunded me can you please help me with this thank you James
<Personal Information Edited by Host>How did you try to downgrade
(Don't post your telephone number in public places, unless you need more useless phone calls) I will ask for it to be removed. -
i have been having an issue with updating my ipod touch for some time now and i can not seem to get it to update to the lastest update. it is stuck on 4.2.1 software and i can not update it to 4.3 or any other ios software update. can you please help me to solve this issue.
It sounds like you actually have a 2G iPod Touch which can only go as high as iOS 4.2.1. If it's an 8 GB iPod Touch it's definitely a 2G iPod Touch as there was never such a thing as a 3G 8 GB iPod Touch. See this article to help verify what generation iPod Touch you have.
Identifying iPod models
B-rock -
I have always been able to open my emails and access their contents using Firefox. Now, this morning, I can no longer access the contents of my emails, but can still open them.
I called 'virginmedia' who told me to try using Explorer, which worked, and they told me the problem was with Firefox.Sugestion: Upgrade Firefox to the latest stable version => www.getfirefox.com
There are many problems with webmail (especially gmail) lately. It can be caused by the AdBlock extension. If you have it installed here's what to do:
1. "Ctrl+Shift+F" Preferences (or right click on ADP symbol and choose preferences)
2. 'Filters' menu > "Update all subscriptions"
Solution from https://support.mozilla.com/pl/questions/896267 by [https://support.mozilla.com/pl/user/52 dmcritchie] -
I need help purchasing chips on ace casino. When I try to purchase it tells me that i have to contact itunes support but there is no number or website. Does anybody know what to do?
See Contact here > http://www.apple.com/support/itunes/contact.html
-
This has been going on for weeks. I've deleted and reinstalled Firefox at least a dozen times.
After EVERY search, I click the site i want, and get redirected to a completely different site.
Not to mention Firefox crashes quite a bit.
== This happened ==
Every time Firefox opened
== A few weeks agoJailbreaking devices is a bad idea (and for most people, it's really old school). Update the devices to iOS 7 and all of your problems should go away.
-
Q) Can anyone please help me with this: My in coming call-messges ringing tone not working? All I am getting in Vabration + Flashing light when receiveing messages or incoming Calls. I am missing my phone Calls constantly. Please Help me?
I have just received this phone as a replacement from my insurance company, as I had lost my own phone. It has taken them 3 weeks to sort this out. This has ruined my business because it has taken so long. I really do not have time to send it back to them. Because it will waist another three weeks for them to sort it out again. Please Help!HA! By Jove I've Got it! it was simples..
TURN ON THE RINGING ON / OFF BUTTON ON THE SIDE OF YOUR PHONE JUST ABOVE THE VOLUME BUTTONS. THEN MAKE SURE THE VOLUME IS UP TO THE HIGHEST. NOW JUST TRY THIS!
I ALSO LOOKED UP A MANUAL ON IPHONE4:
Ringtones, Ring/Silent switch, and vibrate
iPhone comes with ringtones that sound for incoming calls, Clock alarms, and the Clock timer.
You can also purchase ringtones from songs in iTunes. See Chapter 22, iTunes Store, on page 94.
Set the default ringtone: Go to Settings > Sounds > Ringtone.
Turn the ringer on or off: Flip the switch on the side of iPhone.
Important: Clock alarms still sound even if you set the Ring/Silent switch to silent.
Turn vibrate on or off: Go to Settings > Sounds.
Assign a different ringtone for a contact: In Contacts, choose a contact, tap edit, then tap
Ringtone and choose a ringtone.
For more information, see Sounds on page 139.
THE REASON MY PHONE HAD NO RING TONE, WAS SIMPLY BECAUSE THE VOLUME WAS TURNED DOWN. :-/
I HOPE THIS HELPS OTHERS INFUTURE! :-D -
the title pretty much has my question i guess. it's my first post so i'm not sur if you'll see all of it. I'll just copy paste it anyhow.
i've bought the first season of Death Note on itunes, and i've was never able to download the 11th episode (Assault), it gives me error -50 each time I try. Can anyone please help me with this?Perhaps try the "Error -50," "-5000," "8003," "8008," or "-42023" section in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
iTunes: Advanced iTunes Store troubleshooting -
Hello, Honestly I just updated my 4s and my iPad 3 to iOS 6 and when try to press on the Music app or the iTunes app it says "cannot connect to iTunes Store" Could you please help me with this thank you so much, Charbel from Lebanon
See these previous discussions help.
App Store Updates (but only Updates)...: Apple Support Communities
Apps suddenly don't update: Apple Support Communities -
i am facing a problem in my IPod . it is not detected by computer i tried every possible thing i changed cable i installed new itunes still its not coming up in itunes. can you please help me regarding this problem.
This is for Windows: http://support.apple.com/kb/TS1538
-
i brought a iTunes card and the the code on the back is not there it has faded away can u please help me with this problem
Hi Daniel ...
Try here > iTunes Store: Invalid, inactive, or illegible codes -
Hi my name is Natalia R. I had subscribed to FIT Radio, and got charged monthly. Now, I do not want the app anymore. I have tried canceling it, but it does not allow me. How do I unsubscribe from FIT Radio app. I tried, but it keeps charging my card every month. I DON'T want it anymore. Can you please help me stop this issue and cancel it completely without any further charger to my card.
Thanks,
Natalia R.
<Personal Information Edited By Host>The following may help: Manage your auto-renewing subscriptions - Apple Support
-
i just bought the monthly package of lightroom and photoshop cc. I can't seem to find it under the apps on creative cloud - can you please assist me with this.
You can right click the tab and choose "Close Tab" to close a tab.
Some menu entries are hidden by default and only appear if you use the keyboard to open the menu.
You can see the difference if you use Alt+F or Alt+B to open the "File" and "Bookmarks" menu and compare that to what you see if you use the mouse to open the menu after you have made the menu bar visible by pressing Alt or by pressing F10.
Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
Maybe you are looking for
-
ISE 1.1 - switch ignores "Session-Timeout"
hi all, I'm playing around with ISE guest service and have some difficulty with Time Profiles. After guest logs in, Radius attributes are sent to the switch (3750G) one of them is Session-Timeout which should be similar to 1h (DefaultOneHour) Accordi
-
See my Mac Mini on another Mac's desktop with firewire
Hello, Does anyone know how to connect a Mac Mini and an Imac G5 so I can see my Mac Mini on his desktop and run the applications from my machine on his? I am hoping to work at my father-in-law's on an upcoming trip and not bring a monitor with me. I
-
Where are the regular maintenance updates?
Most expensive/professional software I own licences for receives maintenance updates and bug fix patches on a regular basis. Even with shareware and freeware, the patches and updates just keep coming. Flash Professional should certainly be no differe
-
Is there any way I can order larger size print in other size that the 8*10 or 16*20 ?
I believe most of us use a DSLR which have a 2/3 censor, and those 8*10 or 16*20 do not respect the size of the pictures we take... I hate to have to specific files to get prints in a reasonable size. A good print size would be a 8*12, 12*18 or 16*24
-
Communications Express doesn't create access Manager SSO session
Hi all, I'm running Communications Express, Sun Access Manager and Sun messaging server, each on seperate hosts. Single Sign On works i.e. when users have a valid session and point their browser at the Communications Express URL they can access their