if my string is like this format "test-exe-1.jpg" and I need to cut the left part up to first "-" and only have "test" how do I do it?
Thanks for any help..
Forum topic · General Scripting
String manipulating
By cuatcside · 2014-12-11
Description
Comments (1)
.
miauu · 2014-12-11
(
str = "test-exe-1.jpg"
resArr = filterString str "-"
format "resArr: % \n" resArr
firstItem = resArr[1]
format "firstItem: % \n" firstItem
)