Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Excat position of a string and searching inside a string

    Help
    2
    7
    317
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      petermeisenstein F last edited by

      at the moment i am at the python parser and i need something where i can get the position of strings

      so for example i have an input with contains print() and now i need to get the position of ( ) and between this both i have to search for this ""and then i have to find what is inside of "" to give it back to fuze

      1 Reply Last reply Reply Quote 0
      • pianofire
        pianofire Fuze Team last edited by

        I think you probably need strFind(). Look on the help for details

        1 Reply Last reply Reply Quote 1
        • P
          petermeisenstein F last edited by

          then i will find "" but i have to know what is between ""
          like print("hello")
          or print("lol")

          1 Reply Last reply Reply Quote 0
          • pianofire
            pianofire Fuze Team last edited by

            Try this:

            P 2 Replies Last reply Reply Quote 2
            • P
              petermeisenstein F @pianofire last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • P
                petermeisenstein F @pianofire last edited by

                @pianofire Thanks so much

                1 Reply Last reply Reply Quote 0
                • P
                  petermeisenstein F last edited by

                  I need this From an input for example the parser detects print("hello")
                  no he goes to the "" and looks what is between.Then he saves this in a variable
                  and you use

                  print(stuff what is between the "")
                  update()
                  this is everything for the print() statement.
                  (I know in python 3.0 its an fuction)

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post