Hi All,
When we are using replace it is giving the below error
is there any alternative of replace that we can use in CC?
Is this a data clean-up thing or forever display this way thing?
while (LocalLoopCounter <= sizeofarray ShortDescription) if (ShortDescription[LocalLoopCounter] != "-") OrgUnitShortDesc += ShortDescription[LocalLoopCounter] LocalLoopCounter += 1
This should rip over the string and rebuild it without any dash. I didn't try to get your exact field name right. Not tested.
I also tried to use the Tools > Source Code thing in this community UI to no avail. Twice. Grrr.
Don't forget to initialize LocalLoopCounter above. It might be possible to just use capital i "I" instead, it might be implicitly just "there." So I = 1 above , then go into the while loop with I rather than LocalLoopCounter. Worked with a real engineer on this, not taking credit.