---
url: "https://vueda.dev/v3/reference/api/js/utils/errors/FormValidationError/methods/extractStringPaths.md"
title: "extractStringPaths"
---

# extractStringPaths

## Overview

Extracts string paths (those that don't start with object paths).

## Signature

`extractStringPaths(paths, objectPaths)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-paths">paths</span> | `string[]` | yes | Paths to process. |
| <span id="param-objectPaths">objectPaths</span> | `string[]` | yes | Paths already identified as object errors/warnings. |

### Returns

`string[]`

Array of string paths.

## Source

`client/lib/utils/errors.js:243`
