str:string;

 

delphi

str.IsNullOrEmpty

str.IsNullOrWhiteSpace

 

 TStringHelper

for delphi only,c++ no use.