特定の文字列が含まれるか判定するstrstr関数 strstr関数は、指定した文字列の中に特定の文字列が含まれるか判定するものです。 これを使って、URLの中に「works」が含まれている場合と含まれていない場合の処理を分岐します。
Return the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. What should we return when needle is an empty string? This is a great question to ask during an ...
在 haystack 字符串中找出 needle 字符串出现的第一个位置 (从0开始)。如果不存在,则返回 -1。
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する