MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
For a given input string str, find how many spaces are there in the string and replace those spaces with *
e.g. str = 'this is demo of replacing spaces with stars';
out = 'this*is*demo*of*replacing*spaces*with*stars'