Java Help - Need help making a program that checks if a letter appears consecutively in a string?
I need help creating a java program that returns true if a letter appears consecutively in a string like for example : the "O" in noodles
Also a program that returns the color of a background when a link is inputed? or if there is no color get the name of the image
Help with either would be great!
Additional Details
to get the background color of an inputed html return the color
example: <body text = “#FFFFFF” bgcolor = “#000000”>
return 000000 in this example
to get the image
<body background = “Computer-Background.jpg”>
return Computer-Background.jpg in this example