RE: How to repeat String with x++
Hi Alex
Another options is to use the .NET Framework CLR type.
msdn.microsoft.com/.../cc584291.aspx
Below an example that for sure can improve and become an Global Function :
System.String string, replaceChar;
str finalString, fixedString = 'Alex';
int stringLenght = 10;
// Your version
info(strRFix('Alex',stringLenght,'*'));
//////////////////
replaceChar = "X";
string = New System.String(replaceChar.get_Chars(0), stringLenght);
string = string.Replace(replaceChar, "*");
finalString = string.ToString();
finalString = subStr(finalString, 1, stringLenght - strLen(fixedString) ) + fixedString;
Info (finalString);