java - Match number with english text -
this question has answer here:
is there easy way of matching number (0, 1, 2, ..., n) string value (zero, 1 two,...number) using java. right have 'enum' numbers, want able have more numbers ones defined in enum.
thanks in advance.
you can try this or can create map<integer,string> map=new hashmap<>(); , store number , string word there , retrieve.
additionally read this too. not sure there easy way this.
Comments
Post a Comment