@duff
your code is almost right. Instead of setting the String at i to just a single 1 or 0, you have to get the i'th string and then set a specific character to 1 or 0. Here's a version that will...
Type: Posts; User: helloworld922
@duff
your code is almost right. Instead of setting the String at i to just a single 1 or 0, you have to get the i'th string and then set a specific character to 1 or 0. Here's a version that will...
Double quotes denote a String. Single quote denote a character. Also, you're missing some bits of code, such as calling the get method. Your logic could also use some fixing.
here's the...