🔢

Count Occurrences

Count how many times a substring appears in text, with positions.

text API: POST /api/tools/count-occurrences

Input

🔌 API Usage

POST /api/tools/count-occurrences
Content-Type: application/json

// Example body:
{
  "text": "",
  "search": "",
  "case_sensitive": "true"
}