|
Post by chrissi75 on Jul 11, 2018 20:16:49 GMT
Hello,
today I tried to use the REPLSTR-Function. But I got an error message, saying "Type Mismatch. Array replstr$() requires numeric parameters."
When I try the example given in the help files, the same error message occurs.
a$ = "this is a test and this is not a test and this might be a test"
b$ = replstr$(a$, "this", "THIS")
print b$
Why is that?
Best wishes
~Chris
|
|
|
Post by chrissi75 on Jul 11, 2018 20:19:44 GMT
BTW same error occurs when I use remchar$.
|
|
|
Post by tenochtitlanuk on Jul 11, 2018 21:08:40 GMT
Has to be REPLSTR, since this keyword is case sensitive? No, sorry. It's only in LB 4.5 and 4.5.1.
|
|