Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1553 by graham.a...@gmail.com: Keyword 'Split String From Right' reverses string but not separator
http://code.google.com/p/robotframework/issues/detail?id=1553

Keyword 'Split String From Right' reverses the string which will be split but not the separator. Currently for this split to work, the separator needs to be entered in reverse.

String.py @ line 354

# Strings in Jython 2.2 don't have 'rsplit' methods
reversed = self.split_string(string[::-1], separator, max_split)

rsplit is in Jython 2.4+ which means that it can now be implemented here. If not possible, it would make sense to just reverse the separator instead.

This is still in the default branch as of 2013-10-25 (changeset 362fa54db9b4)


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to