Transforming numeric ASCII codes to text characters
ID: 202
See: {#}
using uCalcSoftware;
var uc = new uCalc();
var t = uc.NewTransformer();
t.FromTo("{#97#98#99}", "{#120#121#122}");
// Same as t.FromTo("abc", "xyz")
Console.WriteLine(t.Transform("abc"));
xyz using uCalcSoftware; var uc = new uCalc(); var t = uc.NewTransformer(); t.FromTo("{#97#98#99}", "{#120#121#122}"); // Same as t.FromTo("abc", "xyz") Console.WriteLine(t.Transform("abc"));
#include
#include "uCalc.h"
using namespace std;
using namespace uCalcSoftware;
int main() {
uCalc uc;
auto t = uc.NewTransformer();
t.FromTo("{#97#98#99}", "{#120#121#122}");
// Same as t.FromTo("abc", "xyz")
cout << t.Transform("abc") << endl;
}
xyz #include <iostream> #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; auto t = uc.NewTransformer(); t.FromTo("{#97#98#99}", "{#120#121#122}"); // Same as t.FromTo("abc", "xyz") cout << t.Transform("abc") << endl; }
Imports System
Imports uCalcSoftware
Public Module Program
Public Sub Main()
Dim uc As New uCalc()
Dim t = uc.NewTransformer()
t.FromTo("{#97#98#99}", "{#120#121#122}")
'// Same as t.FromTo("abc", "xyz")
Console.WriteLine(t.Transform("abc"))
End Sub
End Module
xyz Imports System Imports uCalcSoftware Public Module Program Public Sub Main() Dim uc As New uCalc() Dim t = uc.NewTransformer() t.FromTo("{#97#98#99}", "{#120#121#122}") '// Same as t.FromTo("abc", "xyz") Console.WriteLine(t.Transform("abc")) End Sub End Module