Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Data type - String,V_String, V_WString & WString Comparison and difference !

subhajits11
8 - Asteroid

subhajits11_0-1592991786178.png

3 REPLIES 3
JosephSerpis
17 - Castor
17 - Castor

Hi @subhajits11 this link will explain the differences of those data types.

echuong1
Alteryx Alumni (Retired)

The difference between the different types has to do with the length of the string, as well as the types of characters that can be held in each.

 

Essentially, string is the most limited type and has a length that does not vary much and only contains simple Latin-1 characters. V_string also contains simple Latin-1 characters but can have a varying length.

 

Wstring can accept any character and has a length that does not vary much while v_wstring can accept any character and has a variable length.

 

Generally, these differences are pretty small and don't affect most datasets. I generally set everything to be v_string since it's a pretty accommodating datatype without being too large.

 

echuong1_0-1593291497716.png

 

Ane
7 - Meteor

Thank you so much. That was exactly the explanation that I was looking for about the differences of String values.

Labels