CodeCarvings.Piczard
EncodeString Method
See Also  Send Feedback
CodeCarvings.Piczard.Web.Helpers Namespace > JSHelper Class : EncodeString Method

str
The string to encode.
Encodes the provided string so that can be safely enclosed within a couple of double quotes.

Syntax

Visual Basic (Declaration)  
Public Shared Function EncodeString( _
   ByVal str As String _
) As String
C#  
public static string EncodeString( 
   string str
)

Parameters

str
The string to encode.

Return Value

The encoded string.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.