LOCATE() – MySQL Function
LOCATE() – MySQL Function The LOCATE() function returns the position of the first occurrence of a substring in a string.
Read moreLOCATE() – MySQL Function The LOCATE() function returns the position of the first occurrence of a substring in a string.
Read more#include <stdio.h> int main() { char str[100],i; printf(“Enter a string: \n”); scanf(“%s”,str); for(i=0; str[i]!=’\0′; ++i); printf(“\nLength of input string: %d”,i);
Read more