advstring is string class with advance option