{
  "synLogic": "int $ret \u003d $api($1, $2, $3, $4, $5, $6, $7, $8, $9);",
  "help": "The ns_save_searched_string searches a string from a buffer or NS parameter and save it to a NS parameter.",
  "notes": "",
  "returns": "int",
  "arguments": "",
  "parameterization": "Standard parameterization can be used for Input  and output buffer arguments\\n",
  "name": "ns_save_searched_string",
  "syntax": "int ns_save_searched_string(int in_type, char *in, int out_type, char *out, char *lb, char *rb, int  ord, int start_offset, int save_len)",
  "javaSyntax": "int ns_save_searched_string(int type, String consumeStr, int out_type, StringBuffer outPutStr, String leftBound, String rightBound, int ord, int startOffset, int saveLength)",
  "cEx": "flow()\n{\n     ns_save_searched_string(NS_ARG_IS_BUF, msg_buf, NS_ARG_IS_PARAM, \"ProductID\", \"\u003citem\u003e\", \"\u003c/item-close\u003e\", NS_ORD_ANY,NS_FROM_START, NS_SAVE_COMPLETE)\n\n//In this case msg_buf is input buffer , ProductID is Output NS parameter , \u003citem\u003e is left boundary , \u003c/item-close\u003e is right boundary , order is ANY and it saves complete search output. \n//Here left and right boundary are searched in mesg_buf and are saved in ProductID parameter\n\n}",
  "javaEx": "",
  "insertStrC": "ns_save_searched_string(int in_type, char *in, int out_type, char *out, char *lb, char *rb, int  ord, int start_offset, int save_len);",
  "insertStrJava": "ns_save_searched_string(int type, String consumeStr, int out_type, StringBuffer outPutStr, String leftBound, String rightBound, int ord, int startOffset, int saveLength);",
  "description": "Searches for an occurrence of a string and saves it to a NS parameter.",
  "component" : [ 
	 {
      "id": "$1",
      "type": "Dropdown",
      "label": "Input Type",
      "value":0,
      "css": "p-grid p-align-center w-100-p",
      "title": "select input type",
      "placeHolder": "select input type",
      "style": "",
      "isDisabled": "",
      "list": [
        {
          "label": "NS_ARG_IS_BUF",
          "value": 0
        },
        {
          "label": "NS_ARG_IS_PARAM",
          "value": 1
        }
      ],
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0
      }
    },
    {
      "id": "$2",
      "type": "TextField",
      "label": "Input Buffer",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter input buffer",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0
      }
    },
     {
      "id": "$3",
      "type": "Dropdown",
      "label": "Output Type",
      "value":0,
      "css": "p-grid p-align-center w-100-p",
      "title": "select output type",
      "placeHolder": "select input type",
      "style": "",
      "isDisabled": "",
      "list": [
        {
          "label": "NS_ARG_IS_BUF",
          "value": 0
        },
        {
          "label": "NS_ARG_IS_PARAM",
          "value": 1
        }
      ],
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0
      }
    },
    {
      "id": "$4",
      "type": "TextField",
      "label": "Output Buffer",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter output buffer",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0
      }
    },
    {
      "id": "$5",
      "type": "TextField",
      "label": "Left Boundary",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter LB",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0
      }
    },
    {
      "id": "$6",
      "type": "TextField",
      "label": "Right Boundary",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter RB",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 0
      }
    },
    {
      "id": "$7",
      "type": "TextField",
      "label": "Order",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter order",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Number",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 2147483647,
        "method": ""
      }
    },
    {
      "id": "$8",
      "type": "TextField",
      "label": "Start Offset",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter start offset",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Number",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 2147483647,
        "method": ""
      }
    },
    {
      "id": "$9",
      "type": "TextField",
      "label": "Length of string",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter length of the string",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Number",
        "disabled": false,
        "required": true,
        "min": 0,
        "max": 2147483647,
        "method": ""
      }
    }

  ]
}
