---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [cartridges](../index.md) / toForwardSlashes

# Function: toForwardSlashes()

> **toForwardSlashes**(`p`): `string`

Defined in: [packages/b2c-tooling-sdk/src/cartridges/host.ts:67](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/d7ff38c7ca2b1411cd718b9554500c9416f00266/packages/b2c-tooling-sdk/src/cartridges/host.ts#L67)

Converts a path to forward slashes (the form the resolver returns and compares).

## Parameters

### p

`string`

## Returns

`string`
