Hello,
Can anyone tell me if the strings that are being compared need to be same array size?
Lets say str1 has array size of 10 elements and str2 has array of 5 elements. Will the
compare str$ function work? Help files dont really elaborate too much on that.....
Thanx
Mark
Compare str$
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Compare str$
Hi Mark,
Yes strings of different lengths can still be compared and should work fine as long as there is room in both the string variables for the null termination.
Let me know if you have any problems.
Yes strings of different lengths can still be compared and should work fine as long as there is room in both the string variables for the null termination.
Let me know if you have any problems.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel