On Sat, 2008-12-13 at 02:14 -0800, Vicky wrote:
> Is there any way to take out the first letter of a string in django
> template system?
> ex:
>
> x("Hai") should give o/p as: "H"
The "slice" filter has already been suggested, but this is a case of the
template system providing more than o
{{var|slice:"0"}}
On 12/13/08, Vicky wrote:
>
> Is there any way to take out the first letter of a string in django
> template system?
> ex:
>
> x("Hai") should give o/p as: "H"
> >
>
--
---
Александр Кошелев
daeva...@gmail.com
--~--~-~--~~~---~--~~
You re
2 matches
Mail list logo