lengths from the beginning of texts until a character among those prohibited
res = strcspn(Strings, forbiddenChars)
文字列または文字列の行列
文字列または文字列の行列
Matrix of positive real integers, of the size of Strings
:
lengths of the selected Strings
heads.
res = strcspn(Strings, forbiddenChars)
は,
Strings
の中で
forbiddenChars
の一部の文字のどれかが最初に現れる位置を
探し,それが最初に現れるまでのStrings
の文字数を返します.
forbiddenChars
の次元がStrings
と
同じ,またはforbiddenChars
が文字列である必要があります.