Hi Vjeko,
I really enjoyed your preconference class and it is really good to get some examples in how to using .Net.
I’m currently making a String Functions codeunit with .Net from your source code. Your code works well but to my disapointment I couldn’t get String.Replace and String.PadXXX to work.
Text := ‘1234567890’;
Text.PadRight(6,Convert.ToChar(‘*’));
Message(‘Text: %1’,Text); //would just give me the same string as if PadRight never did anything.
The same with:
Text.Replace(Convert.ToString(FindText),
Convert.ToString(ReplaceText));
Pingback: NAV TechDays 2013 in Antwerp Wrap Up - Navigate Into Success - Microsoft Dynamics NAV - Microsoft Dynamics Community
Hi Vjeko,
I really enjoyed your preconference class and it is really good to get some examples in how to using .Net.
I’m currently making a String Functions codeunit with .Net from your source code. Your code works well but to my disapointment I couldn’t get String.Replace and String.PadXXX to work.
Text := ‘1234567890’;
Text.PadRight(6,Convert.ToChar(‘*’));
Message(‘Text: %1’,Text); //would just give me the same string as if PadRight never did anything.
The same with:
Text.Replace(Convert.ToString(FindText),
Convert.ToString(ReplaceText));
Is this something you know anything about?