using replace/split in codebehind

w4e-smk

New Member
Heya, <BR><BR>I'm trying to use the standard replace and split functions in my code behind, but it doesn't recognize them (gives me the usual "Name 'Split' is not declared."). I'm importing the following namepaces, which am I missing? <BR><BR>imports System<BR>imports System.Data<BR>imports System.Data.SqlClient<BR>imports System.Web<BR>imports System.Web.UI<BR>imports System.Web.UI.WebControls<BR>imports System.Web.UI.HtmlControls<BR><BR><BR>Thanks,<BR><BR>])rytry: string.split()<BR>the string class is part of the system namespaceYeah, I got String.Split and String.Replace to work correctly, just wasn't sure why the standard Split and Replace functions weren't accessible from any namespace i could find.<BR><BR>Thanks Chris<BR><BR>])ry
 
Back
Top