Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Split a String Only on Specific Instances of a CharacterContent of Split a String Only on Specific Instances of a Character.vbsMD5 Hash: 575C4693EC36BE241CDEF2935DA8CA54 |
||
strText = "aaa&bbb&ccc&aamp;ddd"
strText = Replace(strText, "&", "@@@@") arrText = Split(strText, "&") For i = 0 to Ubound(arrText) - 1 arrText(i) = Replace(arrText(i), "@@@@", "&") Next For Each strItem in arrText Wscript.Echo strItem Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |