Jump to content

Search the Community

Showing results for tags 'stringbetween'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • Forum FAQ
  • AutoIt

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 3 results

  1. Hello all, First time posting; please excuse my noobness as I am self-taught over a short period with very little programming experience. However, I am trying to create a simple program that retrieves college basketball scores from the web, puts them into an array and writes to excel. Ultimately I want to create an additional variable that would be a date range so the program can cycle through many pages and retrieve years worth of information at a time. For now, I am working on a single day. Here is where I am stuck: I want to use _StringBetween to isolate team names while considering whether they are "winners" or "losers". Here is a snippet from the source code i am dealing with: <tr class="winner"> <td><a href="/teams/MIN/2020.html">Minnesota</a></td> <td class="right">118</td> <td class="right gamelink"> <a href="/boxscores/202001050CLE.html">Final</a> </td> </tr> <tr class="loser"> <td><a href="/teams/CLE/2020.html">Cleveland</a></td> <td class="right">103</td> <td class="right">&nbsp; </td> </tr> </tbody> </table> My thought was to use _Stringbetween( '<tr class ="loser> <td>' & @CRLF & '<td><a href="/teams/', '</a></td>') However, i believe I am using the @CRLF out of context. Is there another way to identify page breaks within the stringbetween function? Complete script is attached for reference. Appreciate the help and patience as I try to piece it all together Muchos gracias. basketball scores x2.au3
  2. Hey guys, Need copy number from source there: < div class = "big-number ng-binding" ng - bind = "test.currentAnswer" > 2501 < /div > I did my code here: Local $Input = _IETagNameGetCollection($_HB, "div") For $i2 In $Input If $i2.classname == "big-number ng-binding" Then $Number = _StringBetween($Input, ' < div class = "big-number ng-binding" ng - bind = "test.currentAnswer" > ', ' < /div >') EndIf Next But it doesnt work and now I dont know how to copy thit string maybe _IEAction($Number,"copy") actuly dont know yet Thanks for help anyone.
  3. Why doesn't print the output?? #include <String.au3> Global $x = 'gdsgklj fsdl dasfgh fsfef ghterfsd kia gdfhgfgdsgklj fsdl dasfgh fsfef' $z = _StringBetween($x, 'fsdl', 'kia') ConsoleWrite($z & @CRLF) Shouldn't it be dasfgh fsfef ghterfsd instead of nothing?
×
×
  • Create New...