<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by lunrock</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Thu, 26 Nov 2026 11:31:23 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Hide portion of string</title>
            <link>http://forum.lowyat.net/topic/744672</link>
            <description>For C#,&lt;br /&gt;&lt;br /&gt;I have a string variable, for example :&lt;br /&gt;&lt;br /&gt;&lt;span style='color:blue'&gt;string strExample = &amp;quot;AAAABBBB&amp;quot;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Is it possible to &amp;quot;hide&amp;quot; a portion of the string and not cut the string because for my case, I would like to Display using &amp;quot;AAAA&amp;quot; and Process using &amp;quot;BBBB&amp;quot; using a string and nothing else.&lt;br /&gt;&lt;br /&gt;Im not mentioning like creating an additional class, Eg:&lt;br /&gt;&lt;br /&gt;&lt;span style='color:red'&gt;public class MyString&lt;br /&gt;    {&lt;br /&gt;        .....More Codes above.&lt;br /&gt;&lt;br /&gt;        public string ValueName&lt;br /&gt;        { get { return m_Name; } }&lt;br /&gt;&lt;br /&gt;        public string ValueGuid&lt;br /&gt;        { get { return m_GUID; } }&lt;br /&gt;    }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Result will be like:&lt;br /&gt;&lt;br /&gt;&lt;span style='color:blue'&gt;&amp;quot;AAAA&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not sure whether is this able to be done.&lt;br /&gt;&lt;br /&gt;Thanks.</description>
            <author>lunrock</author>
            <category>Codemasters</category>
            <pubDate>Thu, 17 Jul 2008 17:32:00 +0800</pubDate>
        </item>
    </channel>
</rss>
