ZeroEffect
Junior Contributor
I am not sure where to start with this but here is my idea. I want to have a setting in my application that will be the format of a string I want to send out as an UDP packet. Now I know how to hard code the format and send the string out using UDP so that is not the issue. The issue is how do I make this format a user defined setting.
Example
This should be fairly easy but for some reason my brain is not processing what I want to do. The Artist and Title will all ready be in stringbuilders ready for use. But what is the best way to build the sting.
Thanks for any help you may have to offer.
ZeroEffect
Example
Visual Basic:
'In the settings file
SendTextFormat = [124] [Artist] [126] [Title] [124]
'or
SendTextFormat = "This is " [Title] " By " [Artist]
'Then based on what is in the SendTextFormat the formatted data that would be sent would look like.
|The Last Goodnight~Pictures Of You|
'or
This is Pictures Of You By The Last Goodnight
This should be fairly easy but for some reason my brain is not processing what I want to do. The Artist and Title will all ready be in stringbuilders ready for use. But what is the best way to build the sting.
Thanks for any help you may have to offer.
ZeroEffect