Hi,
Try:
text.TrimEnd(charsToTrim)
with text as your input, and charsToTrim an array of Chars
for example:
text: "hello4hello 1235"
charsToTrim: {"0"C, "1"C, "2"C, "3"C, "4"C, "5"C, "6"C, "7"C, "8"C, "9"C, " "C}
Hi,
Try:
text.TrimEnd(charsToTrim)
with text as your input, and charsToTrim an array of Chars
for example:
text: "hello4hello 1235"
charsToTrim: {"0"C, "1"C, "2"C, "3"C, "4"C, "5"C, "6"C, "7"C, "8"C, "9"C, " "C}