Letter in string.
#1

Hot to find what letter/symbol etc. is in string ? For example:
String: ABCDE
hot to find third letter of that string, which will be C ?

Reply
#2

new string[] = "ABCDE";
printf("%c", string[2]);

Will print "C".
Reply
#3

Quote:
Originally Posted by 0rb
new string[] = "ABCDE";
printf("%c", string[2]);

Will print "C".
Thx a lot
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)