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

kkoor
kkoor
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
9

Discussions

Discussions
0

Questions

Questions
9

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by kkoor
Customize the badges you want to showcase on your profile
Re: Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
@psheppar, made one small change so that it also works when someone writes its name in all uppercases. Works like a charm now. Thank you so much. String.prototype.toProperCase = function() { var words = this.split(' '); var results = []; for (var i = 0; i < words.length; i++) { var letter = words[i].charAt(0).toUpperCase(); var letters = ""; if(words[i].length > 1) { letters = words[i].slice(1).toLowerCase(); } results.push(letter + letters); } return results.join(' '); };

Views

518

Likes

0

Replies

0
Likes given to