
thesun
Novice
May 15, 2011, 10:28 AM
Post #1 of 5
(7133 views)
|
Count name! Help me!
|
Can't Post
|
|
I' ve a problem about counting name in a string. Name has format {#name} such as {#john} or {#mr_peter}... A name include lowercase character, digits or underline "_" character is valid. And, enter a paragraph, how many name in this. Exam: Input: {#john} and {#conankudo} play PES with {#mr_invincible}. { {#john} win {###} { Output: 4 because have 4 name is: {#john}, {#conankudo}, {#mr_invincible} and {#john}. Who can help me! please.
|