![]() |
Split String into individual characters
Hi,
I am trying to split a string into individual letters in VBScript. str=text i want to get back an array where: a(0) = t a(1) = e a(2) = s a(3) = t there is: a=split(str,"") but it actually requires a character.. i have used other scripting languages where specifying "" means it will automatically split between every letter.. not helpful in this case. The eventual script is to count how many UpperCase characters there are in a given string. Cheers tAK So, i have this: BUT, i have to enter input as: t/E/s/t instead of: tEst i want the latter.. any ideas please ? :
<html> |
| All times are GMT -5. The time now is 10:11 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC