Hi everyone.
Today I must create method, which had to create a list from current string value , divided by slash (/).
And I have written this code:
I hope, it will be useful for you :)
Today I must create method, which had to create a list from current string value , divided by slash (/).
And I have written this code:
#Characters_CN
List list = new List(Types::String);
ListIterator iterator;
container packCon;
int slashCount = 0;
list = strSplit(this.CoverSheetURL, #slash); //this.CoverSheetURL - your string value iterator = new ListIterator(list);return conPeek(packCon, slashCount);
while (iterator.more())
{
packCon += iterator.value();
slashCount++;
iterator.next();
}
I hope, it will be useful for you :)
Комментариев нет:
Отправить комментарий