Jump to content

Recommended Posts

Posted

Hi i have problem with this script

Case $start
    $iIndex = _GUICtrlListView_GetSelectionMark($hListView)
        $text = _GUICtrlListView_GetItemTextString($hListView, $iIndex)
    ; $replace = StringReplace($text, "|", "")
       MsgBox(64, "Test", $text)

Like you see on picture below i need to separate 12 and 1 and remove all | signs and to use just like this $var1 = 2222 and $var2 = 33

I tried with StringReplace it remove only |

 

Mkx842_E.png

Posted

Why you just do not use _GUICtrlListView_GetItemTextArray()

Br.

mLipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...