Suppose Long string is:
longString = "This is first cell. This is second cell. this is third cell".
Now since .
is delimiter here means it is acting as separator for sentences. so you can loop through longString
character wise and whenever you encounter a .
you just increase Array index count and keep storing in this Array index until you find another .
here is sudo code:
array[];
index = 0;
loop through(longString) character wise
{
if(currentChar equals to '.')
{
index++;
}
else
{
array[index] = currentChanracter;
}
}