How do I split a field from a website into 3 text fields on another website?

For example: Source website has it in 1 field that is SSN-SS-NNNN (social security number)
I want it mapped to a portal that has it split into SSN (field 1) SS (field 2) NNNN (field 3)
How do I write this code in tb?

Hi @user656 ,
I believe you are using {site} command to fetch from one website to another website.

Can you check something like this helps?

{ssn="SSN-SS-NNNN"}{`ssn parts`=split(ssn, "-")}{repeat: for part in `ssn parts`}{=part}{key: tab}{endrepeat}

I used split() to split the text with "-" and used {repeat} to populate the fields. Used {key} to navigate to the next field.

We can tweak this logic to have more controlled behaviour. It depends on the website and your whole snippet.
Please reach our if you need more assistance, I will be happy to help.