java, code which counts when at certain char from large string input

后端 未结 0 701
别跟我提以往
别跟我提以往 2020-12-03 14:56

my question is if i have a string- with two types of chars in the string \'#\' and \'.\' and I want to count how many times I land on \'#\' if each time I move to the right

相关标签:
回答
  • 消灭零回复
提交回复
热议问题