Search the Community
Showing results for tags 'StringSplit'.
-
Hello, Does somebody knows a quick way to split eash word to an array in a text? I've a text and want to have each word in that text in an array. I tried to get in some way multiple seperators inside stringsplit but couldn't get it to work. I hope to get an array like : $aArray[0...
-
Hi, i receive a strange result from splitting strings elements contained in an array .(In attachment the resulting array) My Array contains strings like: INFO [26.01.2018 13:53:44] [XYZ] [XYZ, XYZ] Delta pack 5.2.25_17.01.2018 server version: 5.2.25_22.01.2018 not available....
-
Hi i try to read Wlan Profiles from local Computer. First Step Command Prompt: netsh wlan show profiles >> C:\temp\test\wlan.txt. Second Step (here's a sample script to find a solution for my problem. Script read each line of wlan.txt and Display Name of Wireless Connection which i have se...
-
The McAfee return for AV defs per "C:\Progra~1\Common~1\McAfee\SystemCore\csscan.exe -Versions" is ... CommonShell Command Line Scanner Lite (VSCORE.15.5.0.3960) Engine version: 5800.7501 DAT version: 8450.0 Time required: 15 milliseconds I want to isolate th...
- 16 replies
-
- stringsplit
- parse
-
(and 1 more)
Tagged with:
-
Error while adding file names to ListView
crushyna posted a topic in AutoIt General Help and Support
Hello everyone! I've encountered a strange problem while adding files (or rather file names) to a ListView. Mechanics are simple: 1. Select files to add (FileOpenDialog + Multiselect) 2. Split selected string (filepath) into array (StringSplit) 3. File names appear on ListView (GUICtrlCre...- 2 replies
-
- listview
- stringsplit
-
(and 1 more)
Tagged with:
-
How to use regular expressions in StringSplit and StringInStr
-
Dim $oneDarray $oneDarray=StringSplit($Rawfile, @CRLF, 1) $columnsCounter = stringsplit($oneDarray[2],",") GUICtrlSetData ( $Output,"*Group columns Detected from csv:"& $columnsCounter[0] &@CRLF, @CR) ConsoleWrite("*Group columns Detected from csv:"& $columnsCounter[0] &@CRLF) Dim $twoDarray[$on...
- 7 replies
-
- stringsplit
- comma
-
(and 2 more)
Tagged with:
-
i have a script that extract the second caracter from specific phrase $aUser = StringSplit($sText, " ") $status = $aUser[2] but sometime there are no $aUser[2] and thats get an error $status = $aUser[2] $status = ^ ERROR and i have to restart script manual each time It is possible to pass t...
-
Hello, I'm lost again....(as always ) I tried different approaches, _StringBetween, StringRegExp, StringInStr.... but in the end non of my approaches worked fine. Every time I ended up like this: As I don't want to confuse you with my now messed up code snippets, I will explain what I got and w...
-
Hello there, I am a few days now trying to understand this commands. I am reading the help files and examples but still nothing... I got this command in my code which search in a file for lines Local $aLines = StringRegExp($sLines, "(?:([^v]+)(?:v+|$))", 3) ; Lines to a zero-based array (blank...
-
hi ppl! i'm here again >.<" i'm getting problem with my stringsplit() function look the example code: GUICreate("Gui Test", 300, 300, -1, -1) Local $listview = GUICtrlCreateListView("Teste", 0, 0, 300, 300) Local $string = "string1|string2|string3|string4" & @CRLF & _ "string5|string6|string7|st...
- 3 replies
-
- stringsplit
- vertical bar
-
(and 1 more)
Tagged with: