Skip to main content

Hello -

 

I have a SharePoint Multi-line text area (plain text) that users enter 1 value per line...

 

Is it possible to use the K2 Five workflow split function with the separator being the newline vs. a character ( ; or | )?

 

If so, what would the newline representation be?  
...
... or a chr(XXX) value?

 

Thanx !!

 

Jeff

Hi,


 


I use the following functions to replace new lines in Forms,  I believe it would be the same in your case:


 


Url Decode ( Replace ( Url Encode ( Text ) , %0A, ReplaceCharacter) )


Then you can wrap the whole function with Split 


 


I haven't tested it, please let me know the results


 


Hello !

 

Thank you for the suggestion and the coaching!

 

I took it step by step using variables inside the workflow to verify and it worked great!

 

Only chanage was to use %0a vs %0A

 

See attached screen shot



Reply