@jeremytm wrote:
Say I have a sports game, and within the game is a messaging system where we receive a message string like so:
Hi there, I just purchased a new player <player id=1234>. Let me know what you think.
I want to replace the
<player id=>
part with a component which grabs a player image, name, and other cool stuff which make a component necessary.How would I go about solving this keeping in mind each message string can have an unknown number of tags of different types which we need to convert to components.
Help with this would be very appreciated as I've been struggling with this for a while.
Posts: 2
Participants: 2