Assembly: EDKB12WS (in EDKB12WS.exe)

Syntax

Visual Basic

Public Shared Function convert_wordfelder( _
   ByVal x As String _
) As String

C#

public static string convert_wordfelder(
   stringx
)

C++

public: 
static String^ convert_wordfelder(
   Stringx

JScript

public static function convert_wordfelder(
    x : String
) : String;

Parameters

x

 

 

 

 

Source code

Visual Basic

 Function convert_wordfelder(ByVal x As String) As String
    Dim s As String
    Dim s1 As String
    Dim i As Integer
    s = x
    i = InStr(s, Chr(13))
    While i > 0
        s = Left(s, i - 1) & "#" & Right(s, Len(s) - (i))
        If Mid(s, i + 1, 1) = Chr(10) Then
            s = Left(s, i) & Right(s, Len(s) - (i + 1))
        End If
        i = InStr(s, Chr(13))
    End While
    i = InStr(s, "#")
    While i > 0
        s = Left(s, i - 1) & Chr(11) & Right(s, Len(s) - (i))
        i = InStr(s, "#")
    End While
    convert_wordfelder = s
 End Function 

Platforms

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

 

Version Information

.NET Framework

Supported in: 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0
 

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0
 

XNA Framework

Supported in: 3.0, 2.0, 1.0
 

 

See Also