BACKGROUND: Long time reader, first time poster. Looking for help using QGIS to score data in a CSV table that was yielded from processing the contiguous neighbors of every polygon from a file with over 750k features.
VERSION: 2.2 or 3.0
GOAL: an equation to run in Field Calculator
DATA: Column A (small string), Column B (long string), Column C (output of function, a small integer)
NATURAL LANGUAGE ARTICULATION: If any part of B contains all of A, then count all instances of all of A in all of B, output number of instances as integer to Column C
Doe, John; Smith, John; Johnson, Harry; Doe, John;