I want to find the position of a substring in a string if present without using any string method including indexof. I tried so much times but failed. Will anybody tell me h
Assuming this is homework, my suggestion is to bear in mind that a string is an IEnumerable of chars. So you can loop through the characters in your string...