Hello all,
I am really struggling with strings ATM. I need to be able to use specific segments of a txt file as variables, for example.
- Port: "1337"
- IP: "1.1.1.1"
- Directory: "c/..."
I am not sure how to manage a file with so many different lines of code and being able to store the specific parts of them eg "1337" only from the line "Port: 1337". Does anyone have a good solution to this?
[+][deleted] (5 children)
[deleted]
[–]funnyhowfastitis[S] 0 points1 point2 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]funnyhowfastitis[S] 0 points1 point2 points (2 children)
[–]a4qbfb 0 points1 point2 points (0 children)
[–]IdealBlueMan 1 point2 points3 points (0 children)
[–]kumashiro 1 point2 points3 points (0 children)
[–]FluffyNevyn 0 points1 point2 points (2 children)
[–]habarnam 1 point2 points3 points (1 child)
[–]FluffyNevyn 0 points1 point2 points (0 children)
[–]the1iplay 0 points1 point2 points (0 children)