Skip to content

Instantly share code, notes, and snippets.

View fmendozaro's full-sized avatar
🍵
[Drinks tea in Spanish]

Fernando Mendoza R. fmendozaro

🍵
[Drinks tea in Spanish]
View GitHub Profile
@fmendozaro
fmendozaro / strings-extra.md
Last active September 22, 2017 16:37
Java Strings Bonus exercise

Java Strings Bonus exercise

Get rid of the () and - from a phone number format, keep only a String with just the numbers, then grab only the area code (the first 3 digits).

Example

Input:

(210) 123-4560

# Merging
Every time that there's a merge request accepted and you are currently working on something:
1. Change back to the master branch.
2. Update or Pull the changes from the remote master to your local master.
3. Change back to the branch you were working on.
4. Merge the local master into the local branch you are working on.
5. Solve the conflicts if there's any, otherwise continue working.
<!DOCTYPE html>
<html>
<head>
<title>Randoms</title>
</head>
<body>
<div style="text-align: center;">
<h2>Next to demo:</h2>
<div><h1><span id="res"></span></h1></div>
</div>