DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
twig limit text
{
myentity
.
text
|
length
>
50
?
myentity
.
text
|
slice
(
0
,
50
)
~
'...'
:
myentity
.
text
}
}
PREVIOUS
NEXT
Tagged:
#twig
#limit
#text
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit