Legion
Compare Strings better way.
Ok so i am in need of a program that will generate a string that i can copy and paste that string on Dedicated Server for a game called Arma 3.
Now i have a file with all of the Mods currently installed on the server witch is a simple txt file.
Also i have a HTML file that is a current modpack for the mission we want to play.
Now i would want to get the HTML and TXT file and compare there strings.
Example: HTML has a mod, I check if that mod is on server if it is get the name of the mod from the server and add it to ouput string and carry on to the next mod.
But I have encounterd a problem where if one of the mods would contain part of the name it would give that mod.
Example: I have mod in html called @ace.
Now i would like to grab that name from the server file in this case it would be same @ace. but it grabs
@[GM] Placeable Bridges;
because it contains ace in the name Placeable now how would i fix this:
Code:
https://pastebin.com/brMBLpab59 replies
❔ Getting Info From HTML File
Hi guys i have a simple ish question.
so i have this Steam Collection file link:
https://steamcommunity.com/sharedfiles/filedetails/?id=2892539040
From here i can see HTML via view Source.
And that is all fine i got that hole HTML file saved in a single string like this Code:
As you can see hole HTML file is saved in a single string called content. That is all Fine but from there i need to extract info like this:
there are lines like this one above and i would like to get all the Mods names and steam links as well as their id in this example the id is 2732407704.
I know its a simple string manipulation but i am stuck and if anybody know how i can solve this pls do tell and ty very mutch for helping in advance.
4 replies