U have to use array of char* that will point to start and end of the substrings given in the initial string.
The new char* array[] say A, will have the value for instance A[0]= 'The last space in the string' A[1]=...