Substring slicing without an end value
When slicing a string with SubString
, it would seem that there is no way to specify to slice from a position, to the end of the string. It should be possible to omit the end
value to specify to get the remainder of a string from the start
position.
As a side note, a Len
function or field would be very useful for at least knowing how long the string is that is to be sliced, so that the string could be sliced with some of the end cut off as well.