I'm making a web crawler for my website.
I've make the code which downloads the page done,
It gives the code like this:
Original file:
<html>
<head>
</head>
<body>
</body>
</html>
Output from my code:
<html>,,,<head>,,,</head>,,,<body>,,,</body>,,,</html>
Now i need a string split function,
I've tried a lot of functions i found on the web,
But they all have this problem:
Instead of splitting, they remove every character you give it,
Like when you feed this in:
abcdcba
And say it should split on cd i want to get this:
array[0]="ab";
array[1]="cba";
But the this what i dont want is this:
array[0]="ab";
array[1]="ba";