开发者

django search string in string

can we search string in another string/list/array in django which is pa开发者_开发知识库ssed through python template. Thanks in adv...


There are a few methods for searching a string within a string, like string.find, string.rfind, string.index and string.rindex. Here you can find documentation about them:

http://docs.python.org/library/string.html

If doesn't matter if the strings were created using a template...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜