Saturday, December 28, 2013

c# how to check if the string is empty?

How can I check if the string is empty, as in C++



void foo(string st){
if(st.empty()){
//do something
}



thanks!!

No comments:

Post a Comment