1. How do I add/remove sections of a string? Like remove anything after "BC" in a string like "ABCDEFG".

2. How do I ping a website, like google.com, and get its IP address?