Date: 05/22/07 (Code WTF) Keywords: no keywords if (tableName.IndexOf(".") != -1) { tableName = tableName.Substring(tableName.LastIndexOf(".") + 1, tableName.Length - (tableName.LastIndexOf(".") + 1)); } Source: http://community.livejournal.com/code_wtf/87796.html
|