Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
GeneralRe: Finding out file(s) being used by a process Pin
andrei_ciobanu23-Mar-09 8:31
andrei_ciobanu23-Mar-09 8:31 
QuestionFilling gridview with multiple combobox Pin
haroon198021-Mar-09 5:13
haroon198021-Mar-09 5:13 
QuestionLittle help with string and converting it to uppercase or lowercase [modified] Pin
maxflair21-Mar-09 3:32
maxflair21-Mar-09 3:32 
AnswerRe: Little help with string and converting it to uppercase or lowercase Pin
harold aptroot21-Mar-09 3:44
harold aptroot21-Mar-09 3:44 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
maxflair21-Mar-09 4:08
maxflair21-Mar-09 4:08 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
fly90421-Mar-09 4:20
fly90421-Mar-09 4:20 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
maxflair21-Mar-09 4:32
maxflair21-Mar-09 4:32 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
fly90421-Mar-09 4:38
fly90421-Mar-09 4:38 
Funny you should mention that as I was going to edit thte above code for multiple tags.

private string upperCaseTags(string str, string openTag, string closeTag)
{
    int startIndex;
    while ((startIndex = str.IndexOf(openTag)) != -1)
    {
        int endIndex;
        if ((endIndex = str.IndexOf(closeTag) + closeTag.Length) != -1)
        {
            string subStr = str.Substring(startIndex, (endIndex - startIndex));

            subStr = subStr.Replace(openTag, "").Replace(closeTag, "").ToUpper();

            str = str.Remove(startIndex, (endIndex - startIndex));

            str = str.Insert(startIndex, subStr);
        }
    }
    return str;
}


hmmm pie

GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
maxflair21-Mar-09 5:46
maxflair21-Mar-09 5:46 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
Yusuf21-Mar-09 4:34
Yusuf21-Mar-09 4:34 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
harold aptroot21-Mar-09 4:23
harold aptroot21-Mar-09 4:23 
AnswerRe: Little help with string and converting it to uppercase or lowercase Pin
Yusuf21-Mar-09 4:33
Yusuf21-Mar-09 4:33 
GeneralRe: Little help with string and converting it to uppercase or lowercase Pin
maxflair21-Mar-09 5:47
maxflair21-Mar-09 5:47 
AnswerRe: Little help with string and converting it to uppercase or lowercase Pin
maxflair21-Mar-09 6:40
maxflair21-Mar-09 6:40 
QuestionBorland C DLL in C#.NET Pin
dataminers21-Mar-09 3:28
dataminers21-Mar-09 3:28 
AnswerRe: Borland C DLL in C#.NET Pin
harold aptroot21-Mar-09 3:43
harold aptroot21-Mar-09 3:43 
GeneralRe: Borland C DLL in C#.NET Pin
dataminers21-Mar-09 3:48
dataminers21-Mar-09 3:48 
AnswerRe: Borland C DLL in C#.NET Pin
Ravi Mori21-Mar-09 3:46
Ravi Mori21-Mar-09 3:46 
GeneralRe: Borland C DLL in C#.NET Pin
dataminers21-Mar-09 3:51
dataminers21-Mar-09 3:51 
GeneralRe: Borland C DLL in C#.NET Pin
Ravi Mori21-Mar-09 4:13
Ravi Mori21-Mar-09 4:13 
AnswerRe: Borland C DLL in C#.NET Pin
Xmen Real 21-Mar-09 4:11
professional Xmen Real 21-Mar-09 4:11 
GeneralRe: Borland C DLL in C#.NET Pin
dataminers21-Mar-09 5:06
dataminers21-Mar-09 5:06 
GeneralRe: Borland C DLL in C#.NET Pin
Ravadre21-Mar-09 6:23
Ravadre21-Mar-09 6:23 
Questionusing fileupload control any file will save and retrieve from database Pin
grkrishna21-Mar-09 2:45
grkrishna21-Mar-09 2:45 
AnswerRe: using fileupload control any file will save and retrieve from database Pin
Xmen Real 21-Mar-09 4:15
professional Xmen Real 21-Mar-09 4:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.