This code is a bit too advanced for me at this point.... I can create
something like this using c# but I wouldn't have a clue as to how to pull
this off as a function in SQL

On Fri, Jan 4, 2013 at 8:58 AM, Krishna g <[email protected]>wrote:

> Hi,
>
> Try below code.
>
>
>             String name1 = "String1";
>             String name2 = "String2";
>
>
>             name1 = name1 + name2;
>
>             name2 = name1.Substring(0,(name1.Length - name2.Length));
>
>             name1 = name1.Substring(name2.Length);
>
> Thanks,
> Krishna
>
>
> On Wed, Jan 2, 2013 at 2:54 PM, shilpa rakhunde <
> [email protected]> wrote:
>
>> hi............
>> can any one tell m the C# code for swap the two strings without usings
>> third variable?
>> plz raply if any one know it....
>> thankx...
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
>> Web Services,.NET Remoting" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
>> or visit the group website at http://megasolutions.net
>>
>
>
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
> Web Services,.NET Remoting" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
> or visit the group website at http://megasolutions.net
>

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to