Jump to content

Search the Community

Showing results for tags 'using stringregexp?'.

  • 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

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 1 result

  1. hello world =) i am trying to add a new column after every record. the method i am using is pretty dirty - writing to a tempfile and going through each line to add a new column after every last instance of a record. i think it might be a better job for stringregexp? here is the string (basically a declaration of an array with unpredictable values) $string = 'Local $flash[7][3]' & @CRLF & @CRLF $string &= '$flash[0][0] = "AAAAAA1111-111"' & @CRLF $string &= '$flash[0][1] = "AAAAAA1111*111"' & @CRLF $string &= '$flash[0][2] = "AAAAAA1111^111"' & @CRLF $string &= '$flash[1][0] = "BBBB!BB1111111"' & @CRLF $string &= '$flash[1][1] = "BBB$BBB1111111"' & @CRLF $string &= '$flash[1][2] = "BBBBB%B1111111"' & @CRLF $string &= '$flash[2][0] = "CCCCCC222-2222"' & @CRLF $string &= '$flash[2][1] = "CCC*CCC2222222"' & @CRLF $string &= '$flash[2][2] = "CCCCCC22-22222"' & @CRLF $string &= '$flash[3][0] = "DDDD-DDD333333"' & @CRLF $string &= '$flash[3][1] = "DDD#DDDD333333"' & @CRLF $string &= '$flash[3][2] = "DDDDD*DD333333"' & @CRLF $string &= '$flash[4][0] = "EEEEEE$4444444"' & @CRLF $string &= '$flash[4][1] = "EEEEEE#4444444"' & @CRLF $string &= '$flash[4][2] = "EEEEEE!4444444"' & @CRLF $string &= '$flash[5][0] = "FFFFFF-5555555"' & @CRLF $string &= '$flash[5][1] = "FFFFFF;5555555"' & @CRLF $string &= '$flash[5][2] = "FFFFFF*5555555"' & @CRLF $string &= '$flash[6][0] = "GG%GGGGGG6666666"' & @CRLF $string &= '$flash[6][1] = "GGG^GGGGG6666666"' & @CRLF $string &= '$flash[6][2] = "GGGGGG*GG6666666"'i am trying to add a third column ($flash[X][3] = "") for each record so id like to be able to say replace X_TEXT with Y_TEXT Y_TEXT would essentially be the [2] column line for every record PLUS the new line $flash[X][3] = "" hope this makes sense. thank you in advance!
×
×
  • Create New...