Trying to use tokens with my app

xpro

Regular Member
Joined
Jan 21, 2009
Messages
442
Reaction score
24
Hello

I'm trying to make my strings change randomly. Here is an example

String s = "(Hi|Hello), I would (love|like) to (meet|see) you";

How can I do this in a clean way in Java?

Best Regards!
 
Back
Top