SOLVED
split string after 35 character limit
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Jairacha
7 - Meteor
‎05-10-2021
02:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
Column1 | Column2 |
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!!
Solved! Go to Solution.
Labels:
- Labels:
- Parse
- Preparation
- Transformation
2 REPLIES 2
jrgo
14 - Magnetar
‎05-10-2021
03:07 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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)
21 - Polaris
‎05-10-2021
04:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Jairacha
Maybe we can use also RegEx
