部分文字列を取得
res = strstr(haystack, needle)
文字列または文字列の行列
文字列または文字列の行列
文字列または文字列の行列
res = strstr(haystack, needle)
は,
haystack
の中でneedle
が最初に現れる位置から
haystack
の末尾までの文字列行列を返します.
haystack
の部分が見つからない場合は
''
を返します.