Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: working with large strings.

  • To: mathgroup at
  • Subject: [mg21666] Re: [mg21615] working with large strings.
  • From: "Mark Harder" <harderm at>
  • Date: Fri, 21 Jan 2000 04:00:19 -0500 (EST)
  • Sender: owner-wri-mathgroup at

    Have you tried StringReplacePart (online Help under Programming>String
Manipulation)?   Eg.,

In[19]:=    strng= "this is a string";
Out[19]=    "this is a change"


-----Original Message-----
From: dustin <dsoodak at>
To: mathgroup at
Subject: [mg21666] [mg21615] working with large strings.

>If you want to write a program that alters elements of very large lists
>you can alter single elements with
>However, if you want to do this with a large string you have to do
>something like
>The problem with this is it requires making a whole new copy of the
>string to change just one element.  This will really slow a program down
>if you are working with large strings or have to repeat the process many
>Does anyone know a way around this?
>Dustin Soodak

  • Prev by Date: Re: Question:Polar Field Plot
  • Next by Date: Re: Help! Mathematica on my 500MHz outperforms my GHz machine!
  • Previous by thread: Re: working with large strings.
  • Next by thread: Re: working with large strings.