Skip to main content

Questions tagged [words]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
23k views

Regular Expression for words with spaces

I want to check for the following strings using regExpression: 1) Main-xxxxx-Accepted 2) Main-xxx xxx-Accepted I used the below String regEx = 'Main-[aA-zZ-]*-Accepted'; Pattern.matches(regEx,'...
SFDC FanBoy's user avatar
  • 4,094
1 vote
1 answer
3k views

Trigger for Converting Amount(Currency/Number) to Words

Has anyone else come up with a solution by Trigger for this? I have been trying to figure this out for a few weeks now but to no avail. for e.g Amount - 200$ Amount in words - Two hundred ...
mohammed azarudeen's user avatar
0 votes
1 answer
19 views

I am getting these error while executing in anonymous window

public class wordCounter { public void submit(string[] args){ String s = 'Big black bug bit a big black dog on his big black nose'; List<string> a = s.split(' '); Map<...
kirti Rahangdale's user avatar