Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
7 replies
Subscribers
8 subscribers
Views
3835 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hello, I want to create a rule that takes in a text string and capita
issamd
over 9 years ago
Hello,
I want to create a rule that takes in a text string and capitalizes in appropriately, but the proper() function won't work.
For example, if the string passed in is "MMB bank", the proper() function will return "Mmb Bank", when I need "MMB Bank".
Does anybody have a suggestion that I can use?
OriginalPostID-206475
OriginalPostID-206475
Discussion posts and replies are publicly visible
Parents
0
fabricec
over 9 years ago
Ok, so you can split the text with spaces, then for each part, you can test if the part is in uppercase (with the like() function, using regular expression) and if not, use the proper function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
fabricec
over 9 years ago
Ok, so you can split the text with spaces, then for each part, you can test if the part is in uppercase (with the like() function, using regular expression) and if not, use the proper function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data