View Single Post
  #7  
Old 03-30-2007, 11:37 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Well if all else fails you could make a parser yourself.
I've never encountered this problem so I can't really help much, sorry.
PHP Code:
public function replaceSubstring(stringpositionlengthnewstring) {
  
temp.stringa;
  
temp.stringb;
  
temp.outstring;
  
  if (
position 0) {
    return;
  }
  
stringa string.substring(0position);
  
stringb string.substring(position length, -1);
  
outstring stringa newstring stringb;
  return 
outstring;

You can find instances of "\\n" with a function and edit them out with that function I posted if you wish.
__________________
Reply With Quote