In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

split string after 35 character limit

Jairacha
7 - Meteor

Hi I am trying to split a string from column1 into columns 1 and 2 once the string in column1 reaches the 35 character limit. Also, It doesn't matter if the string cuts off in the middle of a word.

 

Column1Column2
Hello world! Insert test string here. 
Hello world!!!!!!!! Insert test string here. 
test1 test1 test2 test2 test3 test4  

 

can someone help on how to do this?

 

Thanks!!

2 REPLIES 2
jrgo
14 - Magnetar

HI @Jairacha 

 

I'm thinking the SUBSTRING() function should work. it's a 0-based count so the first character would start at position 0, not 1)

 

jrgo_1-1620684440965.png

 

 

Qiu
21 - Polaris
21 - Polaris

@Jairacha 
Maybe we can use also RegEx

Capture1A.PNG

Labels
Top Solution Authors