Original Message:
Sent: 08-11-2025 22:48
From: Judy
Subject: Text splitting
sorry ,The spelling was wrong, it has been corrected
I don't really understand String. Split
I copied it and didn't see any effect
If possible, could you please help me create a simple XP project
------------------------------
Judy
Original Message:
Sent: 08-11-2025 09:24
From: John Corigliano
Subject: Text splitting
First, why is the first value expected to be "01", when it is "-1" in the string? I assume that's a typo.
Also, I assume you want to do this with scripting and not Visual Logic.
You can just use String.Split:
Dim s as String = "-1/0/-1/15"Dim parts As String() = s.Split("/")
Now the parts array has the values. They are still strings. If you want to convert them to numbers:
For i As Integer = 0 To parts.Length-1 parts(i) = CInt(parts(i))Next
------------------------------
JohnCorigliano
Senior Software Engineer
ISC
Original Message:
Sent: 08-11-2025 05:00
From: Judy
Subject: Text splitting
I have a string of text,
Presented in the form of -1/0/-1/15
I want to extract 4 texts from 01, 0, -1, and 15 respectively
Please note that each text is dynamic, and may be negative or positive, single or double digit
------------------------------
Judy
------------------------------