java stringtokenizer in c#
-
how can parser this string "casa-de-paco" in three differents strings "casa" "de" "paco" thanks
Dios creo un equipo perfecto a los demas los lleno de extranjeros
-
how can parser this string "casa-de-paco" in three differents strings "casa" "de" "paco" thanks
Dios creo un equipo perfecto a los demas los lleno de extranjeros
I don't understand the referrence to Java, but this might be what you want:
string original = "casa-de-paco";
string tokens[] = original.Split('-');
* Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog
-
I don't understand the referrence to Java, but this might be what you want:
string original = "casa-de-paco";
string tokens[] = original.Split('-');
* Developer Day Scotland: are you interested in speaking or attending? My: Website | Blog
Colin Angus Mackay wrote:
I don't understand the referrence to Java
Java's StringTokenizer[^] object allows you to split strings into parts ("tokens"); I think he was looking for and equivalent. string.Split should work in this case, though, as you mention.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Colin Angus Mackay wrote:
I don't understand the referrence to Java
Java's StringTokenizer[^] object allows you to split strings into parts ("tokens"); I think he was looking for and equivalent. string.Split should work in this case, though, as you mention.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: Messianic Instrumentals (with audio) The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
thanks both
Dios creo un equipo perfecto a los demas los lleno de extranjeros