Text Before
1 min
Returns the text that occurs before the specified pattern
API Definition
Before API
Call the following API to switch multiple responses with a standard output
POST
https://orca.pathfix.com/functions/text/before
json
{
"input": "Text before the pattern",
"searchPattern": "pattern"
}200
{
"output": "Text before the"
}404
{
"message": "error"
}