twistw00d
twistw00d
CC#
Created by twistw00d on 6/6/2024 in #help
-1 in array?
I was using Array, and I find a code like that. The goal is to omit the periods and print the sentences line by line. mystring[] = mystrings[2](“I like pizza.I like salad.”, “I like three of them.”) … while (periodLocation ! = -1) … I don’t know why or how it can has a value as -1…. doesn’t the location start from 0? this is from Microsoft Learn and I didn’t find any tips that explains that. If this is confusing, I can copy the whole code here
13 replies