[x3d-public] c# coding

Konstantin Smirnov konstantin.e.smirnov at gmail.com
Tue Sep 28 11:16:21 PDT 2021


hi
making a system
can you say
string a="ab";
            string s="aabbccdd";
            int k=0;
            for (int i=0; i<8; i++)
            {    if (a.IndexOf(s.Substring(i,1))>0) {k++;};};

how to get a strpos like function, ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210928/9f8429e5/attachment.html>


More information about the x3d-public mailing list