---
name: "BIS_fnc_markerToString"
type: function
status: ok
groups: ["Map and Markers"]
arma3_since: "1.92"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_markerToString
revid: 337081
updated: 2023-01-11T10:52:08Z
---

# BIS_fnc_markerToString

*Function · Map and Markers · Arma 3 v1.92*

## Description

Converts existing marker to [String](../topics/String.md), for example: `"|marker_0|[3799.0110,2781.9880,0.0000]|mil_pickup|ICON|[1,1]|0|Solid|Default|1|You are here"`

## Syntax

```sqf
[markerName, delimiter] call BIS_fnc_markerToString
```

**Parameters:**

- `markerName`: [String](../topics/String.md) - existing marker
- `delimiter`: [String](../topics/String.md) - (Optional, default `|`) a single data delimiter character

**Returns:** [String](../topics/String.md) - serialized marker to be used with [BIS_fnc_stringToMarker](../functions/BIS_fnc_stringToMarker.md) or [BIS_fnc_stringToMarkerLocal](../functions/BIS_fnc_stringToMarkerLocal.md)

## Examples

### Example 1

```sqf
"marker1" call BIS_fnc_markerToString;
```

### Example 2

```sqf
["marker1", ":"] call BIS_fnc_markerToString;
```

## See also

[BIS_fnc_stringToMarker](../functions/BIS_fnc_stringToMarker.md) · [BIS_fnc_stringToMarkerLocal](../functions/BIS_fnc_stringToMarkerLocal.md) · [BIS_fnc_markerToTrigger](../functions/BIS_fnc_markerToTrigger.md) · [createMarker](../commands/createMarker.md) · [createMarkerLocal](../commands/createMarkerLocal.md)

## Community notes

**7erra** — 2019-05-03

The format is the following:

`"|MARKERNAME|markerPos|markerType|markerShape|markerSize|markerDir|markerBrush|markerColor|markerAlpha|markerText"`
The delimiter for [BIS_fnc_stringToMarker](../functions/BIS_fnc_stringToMarker.md) is the first character of the string.

<sub>Source: [BI Community Wiki — BIS fnc markerToString](https://community.bistudio.com/wiki/BIS_fnc_markerToString) (revision 337081).</sub>
