Click here to Skip to main content
15,895,667 members

Comments by TAOG ASOGA (Top 19 by date)

TAOG ASOGA 16-Jun-14 0:08am View    
Sorry sir, but this is for my culminating in my comp science class. My teacher wants me use the common string functions (Replace, Insert, Substring, IndexOf, Remove, Contains) as much as possible. I haven't learned LINQ yet.
TAOG ASOGA 15-Jun-14 21:19pm View    
**good news! Very close! I discovered this function called "LastIndexOf" it finds the instance of "a" that appears last in the word alabama. But how can I find the other instances of "a" in between the first and the last instance?
TAOG ASOGA 15-Jun-14 21:13pm View    
well snap, um the string.replace only replaces all the underscores in the word with "a". :-(
TAOG ASOGA 15-Jun-14 21:11pm View    
ok, I'll try string replace and see how it goes. :-)
TAOG ASOGA 15-Jun-14 20:46pm View    
you mean for loops, something that scans through the word and if it finds the position(s) that has the guessed letter(s)? I tried making a variable that does that but then I don't know keep the detected position.