Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #24917

Re: Can you change value of a substring?

Newsgroups comp.lang.javascript
Date 2014-06-18 14:03 -0700
References <a6d074ff-773b-42d0-96dc-31bd5d733e3d@googlegroups.com> <XnsA350E19EA17B4eejj99@194.109.133.133> <8cd1560f-c83b-49e0-af42-70a7568f95c1@googlegroups.com> <XnsA350E8C0F7C03eejj99@194.109.133.133>
Message-ID <37ec2c2c-b5be-4c81-a2ef-11d234d4eb3b@googlegroups.com> (permalink)
Subject Re: Can you change value of a substring?
From jonas.thornvall@gmail.com

Show all headers | View raw


Den onsdagen den 18:e juni 2014 kl. 22:52:50 UTC+2 skrev Evertjan.:
> jonas.thornvall@gmail.com wrote on 18 jun 2014 in comp.lang.javascript:
> 
> 
> 
> > Den onsdagen den 18:e juni 2014 kl. 22:10:45 UTC+2 skrev Evertjan.:
> 
> >> jonas.thornvall@gmail.com wrote on 18 jun 2014 in comp.lang.javascript:
> 
> >> 
> 
> >> 
> 
> >> 
> 
> >> > Can i change value of a substring or do i have to read the string into
> 
> [...]
> 
> > 
> 
> > I've alrady decided to go for an Array and using 
> 
> 
> 
> That is fine, but does not validate 
> 
> the wrong premisses in your Q.
> 
> 
> 
> > var n =  123456789;
> 
> > var digits = (""+n).split("");
> 
> > 
> 
> > And use fruits.length; for your answer.
> 
> 
> 
> my answer ?????????????????
> 
> 
> 
> Oh come!
> 
> 
> 
> -- 
> 
> Evertjan.
> 
> The Netherlands.
> 
> (Please change the x'es to dots in my emailaddr
No offense meant just tried to be funny, but i find it strange there is people of a certain mentality who never try to answer the actual question. Instead they try to take people for a ride in the funny park.

It is not even an attempt of answer, and sure there is alot of values in a string, they are represented by ascii character on the screen, and i am not really that interested how they are stored internally. 
I just wanted to know if you could replace a subset of a string with another string, and it simply not possible.
But what your answer hint on just eludes me.

There is no "value in a string".
Jvascript is no old style basic. 

Honestly it is just weird.

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 12:39 -0700
  Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 13:09 -0700
    Re: Can you change value of a substring? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-18 23:18 +0200
      Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 00:35 +0200
        Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 15:52 -0700
    Re: Can you change value of a substring? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-06-18 16:14 -0700
  Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-18 22:10 +0200
    Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 13:17 -0700
      Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-18 22:52 +0200
        Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 14:03 -0700
          Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 00:07 +0200
            Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 15:28 -0700
    Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 13:20 -0700
      Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-18 23:22 +0200
        Re: Can you change value of a substring? jonas.thornvall@gmail.com - 2014-06-18 14:40 -0700
          Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 00:31 +0200
    Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-18 23:42 +0200
      Re: Can you change value of a substring? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-19 00:13 +0200
        Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 00:45 +0200
          Re: Can you change value of a substring? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-19 01:32 +0200
            Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 09:43 +0200
        Re: Can you change value of a substring? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-06-19 01:48 +0200
          Re: Can you change value of a substring? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-06-19 09:56 +0200
  Re: Can you change value of a substring? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2014-06-18 16:12 -0700

csiph-web