I would like to remove everything after a space in a string.
For example:
\"my string is sad\"
should return
\"m
strsplit("my string is sad"," ")[[1]][1]