Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.








Sys.StringBuilder isEmpty Method

Determines whether the Sys.StringBuilder object has content.


var stringBuilderVar = new Sys.StringBuilder();
var isEmptyVar = stringBuilderVar.isEmpty();


true if the StringBuilder instance contains no elements; otherwise, false.


Use the isEmpty method to determine whether a StringBuilder instance has any content. If you append an empty string, null, or an undefined value to an empty StringBuilder instance, the instance remains empty and unchanged.