![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: Split a String Only on Specific Instances of a Character
|
||
|
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 :: | ||