Checks if a string starts with a specific prefix.
1 2
printf("%t\n", strings.startsWith("hello world", "hello")) // true printf("%t\n", strings.startsWith("hello world", "world")) // false