Re: String too long...



That doesn't appear to be the ticket but Thank you Tony.

It is harder to articulate the question!

But why do you want to use the Selection?

The objective is to go beyond the 255 character limitation of (range).Text.
The same problem applies to (selection).Text

The recommended solution is in the MS KB article. I believe they're not
saying you must use Form Fields. I believe the gist is that they're saying
Selection.TypeText will accept and utilize an already allocated buffer. As
opposed to copying a string into the .Text buffer that can only accept 255
characters.

http://support.microsoft.com/kb/181110

Using the Range object try to Find a Tag <myTag> and then replace the tag
with a long string myLongString.



.



Relevant Pages

  • renee.rtf.xab

    (comp.lang.tcl)
  • Re: Introducing bit-part characters
    ... guy one in the crowd, second speaker in the crowd, yet ... it would be out of character not to know. ... little man spoke with the air of a professor calmly lecturing: ... My evil overlords tag people like "the pretty Farseer, ...
    (rec.arts.sf.composition)
  • Re: How to call this function
    ... This is the procedure format that FastTagReplace expects to find - its rather ... Tag is the tag it has found as a string between the TagStart and TagEnd strings ... all the appropriate characters in the sub-string. ... character in the sub-string it has found an occurence of the whole sub-string. ...
    (comp.lang.pascal.delphi.misc)
  • Re: $_SESSION[variable_name], Invalid XHTML and &amp;
    ... leading character for special character sequences. ... all ampersands should be converted to & ... do any security risks exist? ... I'm seeing that PHP automatically adds an extra tag? ...
    (comp.lang.php)
  • Re: Stripping html
    ... || time looking for a '<' character. ... | to miss finding the "/string" tag. ...
    (comp.lang.c)

Loading