# symbol {#symbol}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`symbol(X)`

## Arguments {#arguments}

**X** is a string/symbol vector.

## Details {#details}

Convert *X* to a symbol vector.

## Examples {#examples}

```
x=`XOM`y;
typestr(x);
// output: STRING VECTOR

y=symbol(x);
y;
// output: ["XOM","y"]

typestr(y);
// output: FAST SYMBOL VECTOR
```

