minus

open fun minus(originalString: String, removeString: String): String(source)

Same behavior as Groovy minus operator between Strings

Return

string with removeString removed or the original string if it did not contain removeString

Parameters

originalString

original string

removeString

string to remove