<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for YIN</title><link href="https://forge.codesys.com/u/gaga1/activity/" rel="alternate"/><id>https://forge.codesys.com/u/gaga1/activity/</id><updated>2026-11-25T12:03:55.535000Z</updated><subtitle>Recent activity for YIN</subtitle><entry><title>YIN posted a comment on discussion Engineering 🇬🇧</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/687fff4378/?limit=25#bc05" rel="alternate"/><published>2026-11-25T12:03:55.535000Z</published><updated>2026-11-25T12:03:55.535000Z</updated><author><name>YIN</name><uri>https://forge.codesys.com/u/gaga1/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Engineering/thread/687fff4378/?limit=25#bc05</id><summary type="html">WREPLACE (like most Standard library string functions) works with WSTRING(255), so the result gets cut at 255 characters no matter how big your target variable is. Your second line stops right about there. Since the date always has the same length you don't need REPLACE at all. Find it once and overwrite the 10 characters in place: nPos := WFIND(sQuery, "(date:"); IF nPos &gt; 0 THEN nPos := nPos + 8; // skip "(date:" plus the escaped quote, adjust to your literal SysMemCpy(pDest := ADR(sQuery) + TO_UDINT(nPos...</summary></entry></feed>