IdeaBlade DevForce 2010 Help Reference
ReplaceSuffix Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > EnglishGrammarRules Class : ReplaceSuffix Method



pValue
pCharsToTruncate
pSuffix
Helper method. Truncates n characters off the end of pValue and appends pSuffix.

Syntax

Visual Basic (Declaration) 
Protected Shared Function ReplaceSuffix( _
   ByVal pValue As String, _
   ByVal pCharsToTruncate As Integer, _
   ByVal pSuffix As String _
) As String
Visual Basic (Usage)Copy Code
Dim pValue As String
Dim pCharsToTruncate As Integer
Dim pSuffix As String
Dim value As String
 
value = EnglishGrammarRules.ReplaceSuffix(pValue, pCharsToTruncate, pSuffix)
C# 
protected static string ReplaceSuffix( 
   string pValue,
   int pCharsToTruncate,
   string pSuffix
)
C++/CLI 
protected:
static String^ ReplaceSuffix( 
   String^ pValue,
   int pCharsToTruncate,
   String^ pSuffix
) 

Parameters

pValue
pCharsToTruncate
pSuffix

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.