#1 GTA Modding » Reading a variable string between 2 known strings. » 19-10-2018 15:36

sampwise
Replies: 0

Hey guys in the following line:

Report from [1] John Doe (RID: 2): test report

I would like to extract the RID, this of course changes every report.
How can I get this RID? I know I can get the parts of the string that wont change such as
"(RID: " and "):" but how would I get the varying number in between?

Thanks in advanced.

Board footer

Powered by FluxBB