Question: I'd like to write a simple C# app to collect the output of a Zebra printer's magnetic card reader. (Model RW420) My only interface to the device is USB. The CPCL language specifies an `MCR` command for this purpose, but I cannot figure out how to issue this command to the printer via .NET. Neither the online documentation nor support staff can tell me. Does anyone have an idea?

Answer: 
```
function spacecamel(s){
    return s.replace(/([a-z])([A-Z])/g, '$1 $2');
}

```

spacecamel('somethingLikeThis')

// returned value: something Like This
Not regex, but useful to know plain and old techniques like this:

```
var origString = "thisString";
var newString = origString.charAt(0).toUpperCase() + origString.substring(1);

```