I know that to replace spaces I can use:

```
str_replace(' ', ';', $string);

```

My question is...how do I replace only the first space?

eg: `firstword secondword thirdword` to `firstword;secondword thirdword`