开发者

django search string in string

开发者 https://www.devze.com 2023-02-09 04:49 出处:网络
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, l

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

精彩评论

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