Whenever a piece of text matches the pattern described in FromStr, it is replaced with the text
found in ToStr.
<DllImport(uCalcDLL, CharSet:=CharSet.Ansi, CallingConvention:=CallingConvention.Cdecl, EntryPoint:="FromTo")> _
Private Function FromTo__(ByVal TransformHandle As IntPtr,ByVal FromStr As String , ByVal ToStr As String ) As IntPtr
End Function
[DllImport(uCalcDLL, CharSet=CharSet.Ansi, CallingConvention=CallingConvention.Cdecl, EntryPoint="FromTo")]
protected static extern IntPtr FromTo_(IntPtr TransformHandle, string FromStr , string ToStr );
{DLLImport}function FromTo__(TransformHandle: System.Pointer;FromStr: AnsiString ; ToStr: AnsiString): System.Pointer; cdecl; external uCalcDLL name 'FromTo';
typedef uCalcPtr (* __FromTo)(void *TransformHandle, CONSTCHAR FromStr , CONSTCHAR ToStr );
[DllImport(uCalcLib, CharSet=CharSet::Ansi, CallingConvention=CallingConvention::Cdecl, EntryPoint = "FromTo")]
static uCalcPtr FromTo_(void * TransformHandle, MARSHALSTR FromStr , MARSHALSTR ToStr);