I keep getting this question on beginner study sheets...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • z_learning_tester

    I keep getting this question on beginner study sheets...

    But I can't seem to find the answer.
    The question is how do you reverse the words in a string?
    Or how do you reverse the numbers listed in a string?

    The example is usually something like:
    Turn this string "1,2,3,4,.. ."
    Into "...4,3,2,1 "

    This one seems hard enough let alone trying to turn a string of
    space-seperated words around(is that even possible? a trick question
    perhaps?)

    Again, any help here much appreciated.
    Thanks!

    Jeff



  • John Young

    #2
    Re: I keep getting this question on beginner study sheets...

    Hi,

    Is this the kind of thing you are after?

    using System;

    namespace Reverse
    {
    /// <summary>
    /// Summary description for Class1.
    /// </summary>
    class Class1
    {
    /// <summary>
    /// The main entry point for the application.
    /// </summary>
    [STAThread]
    static void Main(string[] args)
    {
    //
    // TODO: Add code to start application here
    //
    string str = "1,2,3,4";
    string result = "";
    for (int i = str.Length - 1; i>=0; i--)
    {
    result += str.Substring(i , 1);
    }
    Console.WriteLi ne("Start string: " + str);
    Console.WriteLi ne("Result string: " + result);
    Console.ReadLin e();
    }
    }
    }


    Hope that helps... Although there may be easier ways to do it...

    John


    "z_learning_tes ter" <someone@micros oft.com> wrote in message
    news:ej2Bc.7137 3$eu.3683@attbi _s02...[color=blue]
    > But I can't seem to find the answer.
    > The question is how do you reverse the words in a string?
    > Or how do you reverse the numbers listed in a string?
    >
    > The example is usually something like:
    > Turn this string "1,2,3,4,.. ."
    > Into "...4,3,2,1 "
    >
    > This one seems hard enough let alone trying to turn a string of
    > space-seperated words around(is that even possible? a trick question
    > perhaps?)
    >
    > Again, any help here much appreciated.
    > Thanks!
    >
    > Jeff
    >
    >
    >[/color]


    Comment

    • Tom Dacon

      #3
      Re: I keep getting this question on beginner study sheets...

      One approach:

      Use String.Split() with a comma as the delimiter, to break up the numeric
      substrings into an array. Then iterate over the array from the end to the
      beginning, to reassemble the substrings into the order you want. For
      example:


      HTH,
      Tom Dacon
      Dacon Software Consulting


      "z_learning_tes ter" <someone@micros oft.com> wrote in message
      news:ej2Bc.7137 3$eu.3683@attbi _s02...[color=blue]
      > But I can't seem to find the answer.
      > The question is how do you reverse the words in a string?
      > Or how do you reverse the numbers listed in a string?
      >
      > The example is usually something like:
      > Turn this string "1,2,3,4,.. ."
      > Into "...4,3,2,1 "
      >
      > This one seems hard enough let alone trying to turn a string of
      > space-seperated words around(is that even possible? a trick question
      > perhaps?)
      >
      > Again, any help here much appreciated.
      > Thanks!
      >
      > Jeff
      >
      >
      >[/color]


      Comment

      • Tom Dacon

        #4
        Re: I keep getting this question on beginner study sheets...

        One approach:

        Use String.Split() with a comma as the delimiter, to break up the numeric
        substrings into an array. Then iterate over the array from the end to the
        beginning, to reassemble the substrings into the order you want. For
        example:

        string input = "1,2,3,4";
        string output = "";
        string[] substrings = input.Split(new char[] { ',' });
        for ( int i = substrings.Leng th - 1; i >= 0; i-- )
        {
        if ( output != "" )
        output += ",";
        output += substrings[i];
        }

        Extra points if you use a StringBuilder instance to assemble the output.

        HTH,
        Tom Dacon
        Dacon Software Consulting


        "z_learning_tes ter" <someone@micros oft.com> wrote in message
        news:ej2Bc.7137 3$eu.3683@attbi _s02...[color=blue]
        > But I can't seem to find the answer.
        > The question is how do you reverse the words in a string?
        > Or how do you reverse the numbers listed in a string?
        >
        > The example is usually something like:
        > Turn this string "1,2,3,4,.. ."
        > Into "...4,3,2,1 "
        >
        > This one seems hard enough let alone trying to turn a string of
        > space-seperated words around(is that even possible? a trick question
        > perhaps?)
        >
        > Again, any help here much appreciated.
        > Thanks!
        >
        > Jeff
        >
        >
        >[/color]


        Comment

        • Shakir Hussain

          #5
          Re: I keep getting this question on beginner study sheets...

          Try this

          //convert to character array
          char [] myArray = myString.ToChar Array()
          //reverse the arrary
          Array.Reverse(m yArray);
          //store in new string
          string newString = new string(myArray) ;

          Shak.


          "z_learning_tes ter" <someone@micros oft.com> wrote in message
          news:ej2Bc.7137 3$eu.3683@attbi _s02...[color=blue]
          > But I can't seem to find the answer.
          > The question is how do you reverse the words in a string?
          > Or how do you reverse the numbers listed in a string?
          >
          > The example is usually something like:
          > Turn this string "1,2,3,4,.. ."
          > Into "...4,3,2,1 "
          >
          > This one seems hard enough let alone trying to turn a string of
          > space-seperated words around(is that even possible? a trick question
          > perhaps?)
          >
          > Again, any help here much appreciated.
          > Thanks!
          >
          > Jeff
          >
          >
          >[/color]


          Comment

          • clintonG

            #6
            Re: I keep getting this question on beginner study sheets...

            Isn't the simple code always the most elegant? :-)

            I mean who would have ever thought of checking the
            documentation to determine which members of the
            Array class are supported?

            What will they think of next.

            --
            <%= Clinton Gallagher
            A/E/C Consulting, Web Design, e-Commerce Software Development
            Wauwatosa, Milwaukee County, Wisconsin USA
            NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
            URL http://www.metromilwaukee.com/clintongallagher/



            "Shakir Hussain" <shak@fakedomai n.com> wrote in message
            news:udSTOanVEH A.3988@tk2msftn gp13.phx.gbl...[color=blue]
            > Try this
            >
            > //convert to character array
            > char [] myArray = myString.ToChar Array()
            > //reverse the arrary
            > Array.Reverse(m yArray);
            > //store in new string
            > string newString = new string(myArray) ;
            >
            > Shak.
            >
            >
            > "z_learning_tes ter" <someone@micros oft.com> wrote in message
            > news:ej2Bc.7137 3$eu.3683@attbi _s02...[color=green]
            > > But I can't seem to find the answer.
            > > The question is how do you reverse the words in a string?
            > > Or how do you reverse the numbers listed in a string?
            > >
            > > The example is usually something like:
            > > Turn this string "1,2,3,4,.. ."
            > > Into "...4,3,2,1 "
            > >
            > > This one seems hard enough let alone trying to turn a string of
            > > space-seperated words around(is that even possible? a trick question
            > > perhaps?)
            > >
            > > Again, any help here much appreciated.
            > > Thanks!
            > >
            > > Jeff
            > >
            > >
            > >[/color]
            >
            >[/color]


            Comment

            • Jon Skeet [C# MVP]

              #7
              Re: I keep getting this question on beginner study sheets...

              clintonG <csgallagher@RE MOVETHISTEXT> wrote:[color=blue]
              > Isn't the simple code always the most elegant? :-)
              >
              > I mean who would have ever thought of checking the
              > documentation to determine which members of the
              > Array class are supported?
              >
              > What will they think of next.[/color]

              On the other hand, that will reverse 12,34 to 43,21 which I suspect
              isn't what's wanted.

              --
              Jon Skeet - <skeet@pobox.co m>
              Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

              If replying to the group, please do not mail me too

              Comment

              • clintonG

                #8
                Re: I keep getting this question on beginner study sheets...

                The Reverse method would provide acceptable results on the string
                of characters that was given but I would concur, in most any other
                form of delineated characters a split would be required.

                But that doesn't change the circumstances for we neophytes as I have
                found that a quick trip to my local copy of the MSDN Library or
                Google before posting to newsgroups has proven to be insightful and
                other neophytes should be encouraged to do the same even if it means
                beating them over the head with a mouse. My own lumps and bruises
                are almost gone :-)

                --
                <%= Clinton Gallagher
                A/E/C Consulting, Web Design, e-Commerce Software Development
                Wauwatosa, Milwaukee County, Wisconsin USA
                NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
                URL http://www.metromilwaukee.com/clintongallagher/



                "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
                news:MPG.1b40cc 00258a4bce98ad1 7@msnews.micros oft.com...[color=blue]
                > clintonG <csgallagher@RE MOVETHISTEXT> wrote:[color=green]
                > > Isn't the simple code always the most elegant? :-)
                > >
                > > I mean who would have ever thought of checking the
                > > documentation to determine which members of the
                > > Array class are supported?
                > >
                > > What will they think of next.[/color]
                >
                > On the other hand, that will reverse 12,34 to 43,21 which I suspect
                > isn't what's wanted.
                >
                > --
                > Jon Skeet - <skeet@pobox.co m>
                > http://www.pobox.com/~skeet
                > If replying to the group, please do not mail me too[/color]


                Comment

                • z_learning_tester

                  #9
                  Re: I keep getting this question on beginner study sheets...

                  Thanks for the help.
                  Honestly I would rather go here than MSDN which one can muddle through for
                  weeks looking for a simple answer. Sure if you need an extremely specific
                  answer and have 10 keywords it will find an example(great!) but for basic
                  questions its just lame and gives *too much* info IMO.

                  Actually I can honestly say that so far I have never gotten the answer I've
                  needed on anything whatsoever from MSDN. I always get lost in the ocean of
                  data. But then I'm a beginner. I'm sure there's tricks :-)
                  Thanks again,

                  Jeff


                  "clintonG" <csgallagher@RE MOVETHISTEXT@me tromilwaukee.co m> wrote in message
                  news:ugXgvH6VEH A.2928@tk2msftn gp13.phx.gbl...[color=blue]
                  > The Reverse method would provide acceptable results on the string
                  > of characters that was given but I would concur, in most any other
                  > form of delineated characters a split would be required.
                  >
                  > But that doesn't change the circumstances for we neophytes as I have
                  > found that a quick trip to my local copy of the MSDN Library or
                  > Google before posting to newsgroups has proven to be insightful and
                  > other neophytes should be encouraged to do the same even if it means
                  > beating them over the head with a mouse. My own lumps and bruises
                  > are almost gone :-)
                  >
                  > --
                  > <%= Clinton Gallagher
                  > A/E/C Consulting, Web Design, e-Commerce Software Development
                  > Wauwatosa, Milwaukee County, Wisconsin USA
                  > NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
                  > URL http://www.metromilwaukee.com/clintongallagher/
                  >
                  >
                  >
                  > "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
                  > news:MPG.1b40cc 00258a4bce98ad1 7@msnews.micros oft.com...[color=green]
                  > > clintonG <csgallagher@RE MOVETHISTEXT> wrote:[color=darkred]
                  > > > Isn't the simple code always the most elegant? :-)
                  > > >
                  > > > I mean who would have ever thought of checking the
                  > > > documentation to determine which members of the
                  > > > Array class are supported?
                  > > >
                  > > > What will they think of next.[/color]
                  > >
                  > > On the other hand, that will reverse 12,34 to 43,21 which I suspect
                  > > isn't what's wanted.
                  > >
                  > > --
                  > > Jon Skeet - <skeet@pobox.co m>
                  > > http://www.pobox.com/~skeet
                  > > If replying to the group, please do not mail me too[/color]
                  >
                  >[/color]


                  Comment

                  • z_learning_tester

                    #10
                    Re: I keep getting this question on beginner study sheets...

                    Thanks all for the replies.
                    This variety of feedback is invaluable to a beginner like me :-)


                    "z_learning_tes ter" <someone@micros oft.com> wrote in message
                    news:ej2Bc.7137 3$eu.3683@attbi _s02...[color=blue]
                    > But I can't seem to find the answer.
                    > The question is how do you reverse the words in a string?
                    > Or how do you reverse the numbers listed in a string?
                    >
                    > The example is usually something like:
                    > Turn this string "1,2,3,4,.. ."
                    > Into "...4,3,2,1 "
                    >
                    > This one seems hard enough let alone trying to turn a string of
                    > space-seperated words around(is that even possible? a trick question
                    > perhaps?)
                    >
                    > Again, any help here much appreciated.
                    > Thanks!
                    >
                    > Jeff
                    >
                    >
                    >[/color]


                    Comment

                    • z_learning_tester

                      #11
                      Re: I keep getting this question on beginner study sheets...

                      Oh, I finally got your point...
                      Sorry, a little slow getting this stuff. C# makes Oracle look like a
                      cakewalk :-)
                      Anyhow, yeah this solution would work on my string but not on ints over 10.
                      Thanks for pointing that out!

                      Jeff


                      "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
                      news:MPG.1b40cc 00258a4bce98ad1 7@msnews.micros oft.com...[color=blue]
                      > clintonG <csgallagher@RE MOVETHISTEXT> wrote:[color=green]
                      > > Isn't the simple code always the most elegant? :-)
                      > >
                      > > I mean who would have ever thought of checking the
                      > > documentation to determine which members of the
                      > > Array class are supported?
                      > >
                      > > What will they think of next.[/color]
                      >
                      > On the other hand, that will reverse 12,34 to 43,21 which I suspect
                      > isn't what's wanted.
                      >
                      > --
                      > Jon Skeet - <skeet@pobox.co m>
                      > http://www.pobox.com/~skeet
                      > If replying to the group, please do not mail me too[/color]


                      Comment

                      • z_learning_tester

                        #12
                        Re: I keep getting this question on beginner study sheets...

                        Yep, that works nicely :-)
                        Thanks!

                        Jeff

                        "John Young" <polomint77ATAT hotmail.com> wrote in message
                        news:%23nStfBlV EHA.2700@TK2MSF TNGP10.phx.gbl. ..[color=blue]
                        > Hi,
                        >
                        > Is this the kind of thing you are after?
                        >
                        > using System;
                        >
                        > namespace Reverse
                        > {
                        > /// <summary>
                        > /// Summary description for Class1.
                        > /// </summary>
                        > class Class1
                        > {
                        > /// <summary>
                        > /// The main entry point for the application.
                        > /// </summary>
                        > [STAThread]
                        > static void Main(string[] args)
                        > {
                        > //
                        > // TODO: Add code to start application here
                        > //
                        > string str = "1,2,3,4";
                        > string result = "";
                        > for (int i = str.Length - 1; i>=0; i--)
                        > {
                        > result += str.Substring(i , 1);
                        > }
                        > Console.WriteLi ne("Start string: " + str);
                        > Console.WriteLi ne("Result string: " + result);
                        > Console.ReadLin e();
                        > }
                        > }
                        > }
                        >
                        >
                        > Hope that helps... Although there may be easier ways to do it...
                        >
                        > John
                        >
                        >
                        > "z_learning_tes ter" <someone@micros oft.com> wrote in message
                        > news:ej2Bc.7137 3$eu.3683@attbi _s02...[color=green]
                        > > But I can't seem to find the answer.
                        > > The question is how do you reverse the words in a string?
                        > > Or how do you reverse the numbers listed in a string?
                        > >
                        > > The example is usually something like:
                        > > Turn this string "1,2,3,4,.. ."
                        > > Into "...4,3,2,1 "
                        > >
                        > > This one seems hard enough let alone trying to turn a string of
                        > > space-seperated words around(is that even possible? a trick question
                        > > perhaps?)
                        > >
                        > > Again, any help here much appreciated.
                        > > Thanks!
                        > >
                        > > Jeff
                        > >
                        > >
                        > >[/color]
                        >
                        >[/color]


                        Comment

                        • clintonG

                          #13
                          Re: I keep getting this question on beginner study sheets...

                          I understand and agree that the MSDN website is humongous
                          but you should try to get a copy of the MSDN Library which
                          can be installed locally and is much more user freindly as it
                          does not include everything Microsoft has ever developed as the
                          MSDN website seems to.

                          A copy of the MSDN Library is distributed with MSDN subscriptions
                          and you may know somebody that can give you a copy of just the
                          library or dig into Microsoft to learn of you can obtain just a copy of
                          the MSDN Library itself. If you have Visual Studio.NET or have seen
                          its help system you were looking at a near equivalent to the
                          MSDN Library as both are deployed using Microsoft's HTML
                          Help 2.0 which is not being distributed unless embedded into one
                          of their products or distributed as the help for one of their SDKs.

                          --
                          <%= Clinton Gallagher
                          A/E/C Consulting, Web Design, e-Commerce Software Development
                          Wauwatosa, Milwaukee County, Wisconsin USA
                          NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
                          URL http://www.metromilwaukee.com/clintongallagher/






                          "z_learning_tes ter" <someone@micros oft.com> wrote in message
                          news:IFRBc.8831 7$HG.66021@attb i_s53...[color=blue]
                          > Thanks for the help.
                          > Honestly I would rather go here than MSDN which one can muddle through for
                          > weeks looking for a simple answer. Sure if you need an extremely specific
                          > answer and have 10 keywords it will find an example(great!) but for basic
                          > questions its just lame and gives *too much* info IMO.
                          >
                          > Actually I can honestly say that so far I have never gotten the answer I've
                          > needed on anything whatsoever from MSDN. I always get lost in the ocean of
                          > data. But then I'm a beginner. I'm sure there's tricks :-)
                          > Thanks again,
                          >
                          > Jeff
                          >
                          >
                          > "clintonG" <csgallagher@RE MOVETHISTEXT@me tromilwaukee.co m> wrote in message
                          > news:ugXgvH6VEH A.2928@tk2msftn gp13.phx.gbl...[color=green]
                          > > The Reverse method would provide acceptable results on the string
                          > > of characters that was given but I would concur, in most any other
                          > > form of delineated characters a split would be required.
                          > >
                          > > But that doesn't change the circumstances for we neophytes as I have
                          > > found that a quick trip to my local copy of the MSDN Library or
                          > > Google before posting to newsgroups has proven to be insightful and
                          > > other neophytes should be encouraged to do the same even if it means
                          > > beating them over the head with a mouse. My own lumps and bruises
                          > > are almost gone :-)
                          > >
                          > > --
                          > > <%= Clinton Gallagher
                          > > A/E/C Consulting, Web Design, e-Commerce Software Development
                          > > Wauwatosa, Milwaukee County, Wisconsin USA
                          > > NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
                          > > URL http://www.metromilwaukee.com/clintongallagher/
                          > >
                          > >
                          > >
                          > > "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
                          > > news:MPG.1b40cc 00258a4bce98ad1 7@msnews.micros oft.com...[color=darkred]
                          > > > clintonG <csgallagher@RE MOVETHISTEXT> wrote:
                          > > > > Isn't the simple code always the most elegant? :-)
                          > > > >
                          > > > > I mean who would have ever thought of checking the
                          > > > > documentation to determine which members of the
                          > > > > Array class are supported?
                          > > > >
                          > > > > What will they think of next.
                          > > >
                          > > > On the other hand, that will reverse 12,34 to 43,21 which I suspect
                          > > > isn't what's wanted.
                          > > >
                          > > > --
                          > > > Jon Skeet - <skeet@pobox.co m>
                          > > > http://www.pobox.com/~skeet
                          > > > If replying to the group, please do not mail me too[/color]
                          > >
                          > >[/color]
                          >
                          >[/color]


                          Comment

                          • z_learning_tester

                            #14
                            Re: I keep getting this question on beginner study sheets...

                            Actually I have VS but didn't install the MSDN help due to my experiences
                            getting lost in the web site.
                            I just installed it and you're right, the distributed version is far more
                            condensed and useful.
                            Thanks for the tip!

                            Jeff


                            "clintonG" <csgallagher@RE MOVETHISTEXT@me tromilwaukee.co m> wrote in message
                            news:eVvk82IWEH A.2840@TK2MSFTN GP11.phx.gbl...[color=blue]
                            > I understand and agree that the MSDN website is humongous
                            > but you should try to get a copy of the MSDN Library which
                            > can be installed locally and is much more user freindly as it
                            > does not include everything Microsoft has ever developed as the
                            > MSDN website seems to.
                            >
                            > A copy of the MSDN Library is distributed with MSDN subscriptions
                            > and you may know somebody that can give you a copy of just the
                            > library or dig into Microsoft to learn of you can obtain just a copy of
                            > the MSDN Library itself. If you have Visual Studio.NET or have seen
                            > its help system you were looking at a near equivalent to the
                            > MSDN Library as both are deployed using Microsoft's HTML
                            > Help 2.0 which is not being distributed unless embedded into one
                            > of their products or distributed as the help for one of their SDKs.
                            >
                            > --
                            > <%= Clinton Gallagher
                            > A/E/C Consulting, Web Design, e-Commerce Software Development
                            > Wauwatosa, Milwaukee County, Wisconsin USA
                            > NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
                            > URL http://www.metromilwaukee.com/clintongallagher/
                            >
                            >
                            >
                            >
                            >
                            >
                            > "z_learning_tes ter" <someone@micros oft.com> wrote in message
                            > news:IFRBc.8831 7$HG.66021@attb i_s53...[color=green]
                            > > Thanks for the help.
                            > > Honestly I would rather go here than MSDN which one can muddle through[/color][/color]
                            for[color=blue][color=green]
                            > > weeks looking for a simple answer. Sure if you need an extremely[/color][/color]
                            specific[color=blue][color=green]
                            > > answer and have 10 keywords it will find an example(great!) but for[/color][/color]
                            basic[color=blue][color=green]
                            > > questions its just lame and gives *too much* info IMO.
                            > >
                            > > Actually I can honestly say that so far I have never gotten the answer[/color][/color]
                            I've[color=blue][color=green]
                            > > needed on anything whatsoever from MSDN. I always get lost in the ocean[/color][/color]
                            of[color=blue][color=green]
                            > > data. But then I'm a beginner. I'm sure there's tricks :-)
                            > > Thanks again,
                            > >
                            > > Jeff
                            > >
                            > >
                            > > "clintonG" <csgallagher@RE MOVETHISTEXT@me tromilwaukee.co m> wrote in[/color][/color]
                            message[color=blue][color=green]
                            > > news:ugXgvH6VEH A.2928@tk2msftn gp13.phx.gbl...[color=darkred]
                            > > > The Reverse method would provide acceptable results on the string
                            > > > of characters that was given but I would concur, in most any other
                            > > > form of delineated characters a split would be required.
                            > > >
                            > > > But that doesn't change the circumstances for we neophytes as I have
                            > > > found that a quick trip to my local copy of the MSDN Library or
                            > > > Google before posting to newsgroups has proven to be insightful and
                            > > > other neophytes should be encouraged to do the same even if it means
                            > > > beating them over the head with a mouse. My own lumps and bruises
                            > > > are almost gone :-)
                            > > >
                            > > > --
                            > > > <%= Clinton Gallagher
                            > > > A/E/C Consulting, Web Design, e-Commerce Software Development
                            > > > Wauwatosa, Milwaukee County, Wisconsin USA
                            > > > NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
                            > > > URL http://www.metromilwaukee.com/clintongallagher/
                            > > >
                            > > >
                            > > >
                            > > > "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
                            > > > news:MPG.1b40cc 00258a4bce98ad1 7@msnews.micros oft.com...
                            > > > > clintonG <csgallagher@RE MOVETHISTEXT> wrote:
                            > > > > > Isn't the simple code always the most elegant? :-)
                            > > > > >
                            > > > > > I mean who would have ever thought of checking the
                            > > > > > documentation to determine which members of the
                            > > > > > Array class are supported?
                            > > > > >
                            > > > > > What will they think of next.
                            > > > >
                            > > > > On the other hand, that will reverse 12,34 to 43,21 which I suspect
                            > > > > isn't what's wanted.
                            > > > >
                            > > > > --
                            > > > > Jon Skeet - <skeet@pobox.co m>
                            > > > > http://www.pobox.com/~skeet
                            > > > > If replying to the group, please do not mail me too
                            > > >
                            > > >[/color]
                            > >
                            > >[/color]
                            >
                            >[/color]


                            Comment

                            • clintonG

                              #15
                              Re: I keep getting this question on beginner study sheets...

                              So there you go now :-)

                              --
                              <%= Clinton Gallagher
                              A/E/C Consulting, Web Design, e-Commerce Software Development
                              Wauwatosa, Milwaukee County, Wisconsin USA
                              NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
                              URL http://www.metromilwaukee.com/clintongallagher/



                              "z_learning_tes ter" <someone@micros oft.com> wrote in message
                              news:JI0Cc.7666 5$Hg2.55932@att bi_s04...[color=blue]
                              > Actually I have VS but didn't install the MSDN help due to my experiences
                              > getting lost in the web site.
                              > I just installed it and you're right, the distributed version is far more
                              > condensed and useful.
                              > Thanks for the tip!
                              >
                              > Jeff
                              >
                              >
                              > "clintonG" <csgallagher@RE MOVETHISTEXT@me tromilwaukee.co m> wrote in message
                              > news:eVvk82IWEH A.2840@TK2MSFTN GP11.phx.gbl...[color=green]
                              > > I understand and agree that the MSDN website is humongous
                              > > but you should try to get a copy of the MSDN Library which
                              > > can be installed locally and is much more user freindly as it
                              > > does not include everything Microsoft has ever developed as the
                              > > MSDN website seems to.
                              > >
                              > > A copy of the MSDN Library is distributed with MSDN subscriptions
                              > > and you may know somebody that can give you a copy of just the
                              > > library or dig into Microsoft to learn of you can obtain just a copy of
                              > > the MSDN Library itself. If you have Visual Studio.NET or have seen
                              > > its help system you were looking at a near equivalent to the
                              > > MSDN Library as both are deployed using Microsoft's HTML
                              > > Help 2.0 which is not being distributed unless embedded into one
                              > > of their products or distributed as the help for one of their SDKs.
                              > >
                              > > --
                              > > <%= Clinton Gallagher
                              > > A/E/C Consulting, Web Design, e-Commerce Software Development
                              > > Wauwatosa, Milwaukee County, Wisconsin USA
                              > > NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
                              > > URL http://www.metromilwaukee.com/clintongallagher/
                              > >
                              > >
                              > >
                              > >
                              > >
                              > >
                              > > "z_learning_tes ter" <someone@micros oft.com> wrote in message
                              > > news:IFRBc.8831 7$HG.66021@attb i_s53...[color=darkred]
                              > > > Thanks for the help.
                              > > > Honestly I would rather go here than MSDN which one can muddle through[/color][/color]
                              > for[color=green][color=darkred]
                              > > > weeks looking for a simple answer. Sure if you need an extremely[/color][/color]
                              > specific[color=green][color=darkred]
                              > > > answer and have 10 keywords it will find an example(great!) but for[/color][/color]
                              > basic[color=green][color=darkred]
                              > > > questions its just lame and gives *too much* info IMO.
                              > > >
                              > > > Actually I can honestly say that so far I have never gotten the answer[/color][/color]
                              > I've[color=green][color=darkred]
                              > > > needed on anything whatsoever from MSDN. I always get lost in the ocean[/color][/color]
                              > of[color=green][color=darkred]
                              > > > data. But then I'm a beginner. I'm sure there's tricks :-)
                              > > > Thanks again,
                              > > >
                              > > > Jeff
                              > > >
                              > > >
                              > > > "clintonG" <csgallagher@RE MOVETHISTEXT@me tromilwaukee.co m> wrote in[/color][/color]
                              > message[color=green][color=darkred]
                              > > > news:ugXgvH6VEH A.2928@tk2msftn gp13.phx.gbl...
                              > > > > The Reverse method would provide acceptable results on the string
                              > > > > of characters that was given but I would concur, in most any other
                              > > > > form of delineated characters a split would be required.
                              > > > >
                              > > > > But that doesn't change the circumstances for we neophytes as I have
                              > > > > found that a quick trip to my local copy of the MSDN Library or
                              > > > > Google before posting to newsgroups has proven to be insightful and
                              > > > > other neophytes should be encouraged to do the same even if it means
                              > > > > beating them over the head with a mouse. My own lumps and bruises
                              > > > > are almost gone :-)
                              > > > >
                              > > > > --
                              > > > > <%= Clinton Gallagher
                              > > > > A/E/C Consulting, Web Design, e-Commerce Software Development
                              > > > > Wauwatosa, Milwaukee County, Wisconsin USA
                              > > > > NET csgallagher@ REMOVETHISTEXT metromilwaukee. com
                              > > > > URL http://www.metromilwaukee.com/clintongallagher/
                              > > > >
                              > > > >
                              > > > >
                              > > > > "Jon Skeet [C# MVP]" <skeet@pobox.co m> wrote in message
                              > > > > news:MPG.1b40cc 00258a4bce98ad1 7@msnews.micros oft.com...
                              > > > > > clintonG <csgallagher@RE MOVETHISTEXT> wrote:
                              > > > > > > Isn't the simple code always the most elegant? :-)
                              > > > > > >
                              > > > > > > I mean who would have ever thought of checking the
                              > > > > > > documentation to determine which members of the
                              > > > > > > Array class are supported?
                              > > > > > >
                              > > > > > > What will they think of next.
                              > > > > >
                              > > > > > On the other hand, that will reverse 12,34 to 43,21 which I suspect
                              > > > > > isn't what's wanted.
                              > > > > >
                              > > > > > --
                              > > > > > Jon Skeet - <skeet@pobox.co m>
                              > > > > > http://www.pobox.com/~skeet
                              > > > > > If replying to the group, please do not mail me too
                              > > > >
                              > > > >
                              > > >
                              > > >[/color]
                              > >
                              > >[/color]
                              >
                              >[/color]


                              Comment

                              Working...