Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spojit.com/llms.txt

Use this file to discover all available pages before exploring further.

The Text Tools connector provides a comprehensive set of string manipulation operations for your workflows.
No connection required — this utility connector works out of the box.

Tools

text
string
required
Text to split.
delimiter
string
required
Delimiter string or regex pattern.
isRegex
boolean
default:"false"
Treat delimiter as a regular expression.
limit
number
Maximum number of splits.
Example request:
{
  "text": "one, two, three, four",
  "delimiter": ", ",
  "limit": 3
}
Example response:
{
  "parts": ["one", "two", "three, four"],
  "count": 3
}
parts
string[]
required
Array of strings to join.
separator
string
default:""
Separator between parts.
Example request:
{
  "parts": ["2026", "04", "02"],
  "separator": "-"
}
Example response:
{ "result": "2026-04-02" }
text
string
required
Source text.
String or regex pattern to find.
replacement
string
required
Replacement text.
isRegex
boolean
default:"false"
Treat search as a regular expression.
replaceAll
boolean
default:"true"
Replace all occurrences (or just the first).
flags
string
default:"g"
Regex flags (when isRegex is true).
Example request:
{
  "text": "Hello World! Hello Universe!",
  "search": "Hello",
  "replacement": "Hi",
  "replaceAll": true
}
Example response:
{ "result": "Hi World! Hi Universe!" }
text
string
required
Text to trim.
mode
string
default:"both"
Trim mode: both, start, or end.
chars
string
Specific characters to trim (whitespace if omitted).
Example request:
{
  "text": "---Hello World---",
  "chars": "-"
}
Example response:
{ "result": "Hello World" }
text
string
required
Text to convert.
to
string
required
Target case: upper, lower, title, sentence, camel, pascal, snake, kebab, constant, dot, path, or capital.
Example request:
{
  "text": "user first name",
  "to": "camel"
}
Example response:
{ "result": "userFirstName" }
text
string
required
Text to truncate.
length
number
required
Maximum length.
ellipsis
string
default:"..."
Ellipsis string.
preserveWords
boolean
default:"false"
Truncate at word boundaries.
Example request:
{
  "text": "The quick brown fox jumps over the lazy dog",
  "length": 20,
  "preserveWords": true
}
Example response:
{ "result": "The quick brown..." }
text
string
required
Text to pad.
length
number
required
Target length.
char
string
default:" "
Pad character.
position
string
default:"end"
Pad position: start, end, or both.
Example request:
{
  "text": "42",
  "length": 6,
  "char": "0",
  "position": "start"
}
Example response:
{ "result": "000042" }
text
string
required
Text to convert.
lowercase
boolean
default:"true"
Convert to lowercase.
separator
string
default:"-"
Word separator.
strict
boolean
default:"true"
Strip special characters.
Example request:
{
  "text": "My Blog Post: A New Beginning!"
}
Example response:
{ "result": "my-blog-post-a-new-beginning" }
text
string
required
Text to reverse.
byWords
boolean
default:"false"
Reverse word order instead of characters.
Example request:
{
  "text": "the quick brown fox",
  "byWords": true
}
Example response:
{ "result": "fox brown quick the" }
text
string
required
Text to count.
Example request:
{
  "text": "The quick brown fox jumps over the lazy dog"
}
Example response:
{ "count": 9 }
text
string
required
Text to count.
includeSpaces
boolean
default:"true"
Include spaces in the count.
includeNewlines
boolean
default:"true"
Include newlines in the count.
Example request:
{
  "text": "Hello World",
  "includeSpaces": false
}
Example response:
{ "count": 10 }
text
string
required
Source text.
start
number
required
Start index (0-based).
end
number
End index (exclusive).
Example request:
{
  "text": "Hello World",
  "start": 6,
  "end": 11
}
Example response:
{ "result": "World" }
text
string
required
Text to repeat.
count
number
required
Number of repetitions (0–1000).
separator
string
default:""
Separator between repetitions.
Example request:
{
  "text": "na",
  "count": 4,
  "separator": " "
}
Example response:
{ "result": "na na na na" }
text
string
required
Text to search.
search
string
required
Substring to find.
ignoreCase
boolean
default:"false"
Case-insensitive search.
Example request:
{
  "text": "Error: Connection refused",
  "search": "error",
  "ignoreCase": true
}
Example response:
{ "result": true }
text
string
required
Text to check.
prefix
string
required
Prefix to check for.
ignoreCase
boolean
default:"false"
Case-insensitive check.
Example request:
{
  "text": "https://api.example.com/v1/users",
  "prefix": "https://"
}
Example response:
{ "result": true }
text
string
required
Text to check.
suffix
string
required
Suffix to check for.
ignoreCase
boolean
default:"false"
Case-insensitive check.
Example request:
{
  "text": "report_2026.pdf",
  "suffix": ".pdf"
}
Example response:
{ "result": true }