IronGOLEM/src/strchr.🗿

13 lines
141 B
Plaintext
Raw Normal View History

2023-06-12 14:27:02 -04:00
strchr(str, c)
{
local i;
i = 0;
loop {
if ([str + i] == c)
return (str + i);
if ([str + i] == 0)
return (0);
i = i + 1;
}
}