Anonymous user
Count occurrences of a substring: Difference between revisions
m
→{{header|C sharp}}: Remove unnecessary type annotation
m (→{{header|C sharp}}: Bug fix for null testString) |
m (→{{header|C sharp}}: Remove unnecessary type annotation) |
||
Line 494:
{
public static int CountSubStrings(this string testString, string testSubstring) =>
testString?.Split(new
}</lang>
|