Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. GSC String parsing help needed.

GSC String parsing help needed.

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
3 Posts 2 Posters 305 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • NourSofanatiundefined Offline
    NourSofanatiundefined Offline
    NourSofanati
    wrote on last edited by
    #1

    How do i convert strings to integers and Split strings using Delimiters?

    birchyundefined 1 Reply Last reply
    0
    • birchyundefined Offline
      birchyundefined Offline
      birchy
      replied to NourSofanati on last edited by
      #2

      NourSofanati

      int(value); //Cast to integer, returns integer.
      strtok(string, delimiter); //Tokenises string, returns array.
      
      NourSofanatiundefined 1 Reply Last reply
      1
      • NourSofanatiundefined Offline
        NourSofanatiundefined Offline
        NourSofanati
        replied to birchy on last edited by
        #3

        birchy Thank you so much, do you know any sources online i can take a look at to view the documentations or anything?

        1 Reply Last reply
        0

        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Donate