Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

shaneir
shaneir
Offline

Badges

Badges
1

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
1

Discussions

Discussions
0

Questions

Questions
1

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by shaneir
Customize the badges you want to showcase on your profile
Re: Replace a character in the string using JavaScript - Adobe LiveCycle 18-04-2016
FYI, Steve L Walker​'s original code: this.rawValue = str.replace(/\s/,"\n");Actually replaces any whitespace "\s" character with a newline "\n" character, not a carriage return "\r" character as stated in the answer and requested by the OP. While the newline character the OP got is likely what they actually needed, an OSX and Linux end-of-line sequence, the statements seem to indicate the opposite has occurred.To replace any whitespace "\s" character with a carriage return "\r" character, use a...

Views

3.7K

Likes

0

Replies

0