Implemented strcspn()