- Subject: string2array ?
- From: Guenter Milde <milde@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 18 Feb 2003 11:32:46 +0100 (CET)
Dear jedies,
I am looking for a function that takes a string and returns
an array of characters, something like
str2array(str)
{
variable i, a = String_Type[strlen(str)];
for (i=0; i<strlen(str); i++)
a[i] = str[i];
}
What I want to do is doing a comparision on the array to find
out at which places str contains uppercase characters:
upcase = where(str2array(str) < 97));
Is there some simpler or readymade solution?
Günter
--
Milde at ife.et.tu-dresden.de
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2003 date index]
[2003 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]