KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I would like to remove everything after a space in a string. For example: "my string is sad" should return "my" I've been trying to figure out how to do this using sub/gsub but have been unsuccessful so far.
Tags (comma-separated)
Save Edits
Cancel