Results 1 to 8 of 8

Thread: Splitting

  1. #1

    Thread Starter
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Question Splitting

    VB Code:
    1. Page.Response.Write(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.CurrencyNegativePattern);
    Remove the spaces between the Ts and post it. It will reapply them. It does it in all the code tags and regular text. Is this some deterrance for php?

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: Splitting

    Code:
    Page.Response.Write(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.CurrencyNegativePattern);

    cool beans

  3. #3
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Splitting

    It's some sort of a length limit. At 100 characters, it will 'break'.
    VB Code:
    1. Page.Response.Write(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.CurrencyNegativePat
    VB Code:
    1. Page.Response.Write(System.Globalization.CultureInfo.CurrentCulture.NumberFormat.CurrencyNegativePatt

  4. #4
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: Splitting

    VB Code:
    1. helloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworldhelloworld

    proves your theory doesn't it?

  5. #5
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Splitting

    It's because your code's ugly.

    Code:
    Page.Response.Write(
      CultureInfo.CurrentCulture.NumberFormat.CurrencyNegativePattern
    );

  6. #6

    Thread Starter
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: Splitting

    I never import anything for my examples.

  7. #7
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Splitting

    It's because you still use Response.Write

  8. #8

    Thread Starter
    Banned
    Join Date
    Nov 2005
    Posts
    2,367

    Re: Splitting

    I know, I should trace... But sometimes I'm only looking for one value (just on the fly) so I do it that way. If it's something huge I need to debug, I don't use response.write.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width