ztfy/utils/text.py
branchZTK-1.1
changeset 73 96079b5bdc1f
parent 71 2512d7fe2cda
equal deleted inserted replaced
72:d53c864723ea 73:96079b5bdc1f
    23 
    23 
    24 # import Zope3 packages
    24 # import Zope3 packages
    25 from zope.component import createObject, queryMultiAdapter
    25 from zope.component import createObject, queryMultiAdapter
    26 
    26 
    27 # import local packages
    27 # import local packages
    28 from request import getRequest
    28 from ztfy.utils.request import getRequest
    29 
    29 
    30 
    30 
    31 def textStart(text, length, max=0):
    31 def textStart(text, length, max=0):
    32     """Get first words of given text with maximum given length
    32     """Get first words of given text with maximum given length
    33     
    33