Demo entry 6745734

鲍乙乙

   

Submitted by anonymous on May 27, 2018 at 17:00
Language: Matlab. Code size: 193 Bytes.

B = isstrprop(s , 'alpha');
sizeB = size(B);
sizeB = sizeB(1 , 2);
count = 0;
for i = 1 : (sizeB)
   if B(i) == 1
      if B(i + 1) == 0
          count = count + 1;
      end
   end

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).