Process Mapping Logo

Process Mapping - Forums

Sharing 19 years of knowledge and experience

 
Metastorm BPM forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
JBudler

Member
Registered:
Posts: 17
Reply with quote  #1 
Hi,

I have been trying to figure out how to get the carriage return replaced with a space.

Scenario:
Memo Block has the following text: 
"Hi Jacques
I need your help"

We then take a portion of this and put it in another field. the first 150 characters to be precise, the other field is a text field which for some reason then stores the value as 
"Hi JacquesI need your help."

I use the expression builder to set the value and have tried using the ReplaceString Function to replace; "\r\n" with " "
"<br>" with " "

sadly no joy.

Has anybody achieved this before?

Your assistance is appreciated.

Regards,
Jacques


__________________
Regards,
Jacques
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #2 
It may not be "\r\n", but just "\n".
__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
JBudler

Member
Registered:
Posts: 17
Reply with quote  #3 
Thank you that worked,

Not sure why that did not occur to me. 

__________________
Regards,
Jacques
0
Jerome

Avatar / Picture

Guru
Registered:
Posts: 5,507
Reply with quote  #4 
To quote Douglas Adams:
VROOMFONDEL:
Dunno. Think our minds must be too highly trained Majikthise

__________________
Post an example, and we will have a much better idea what the problem is. In about 90% of posts, the problem is one of communication. Examples bridge that gap.
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:


Create your own forum with Website Toolbox!