We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Plugin to delete some segment of text

Development and Programming

Sylvain Hugues-Laclef's avatar
Sylvain Hugues-Laclef
15 posts
17 years ago
Sylvain Hugues-Laclef's avatar Sylvain Hugues-Laclef

Hello, is there any plugin to delete some segment of text ?

exemple : “Blue sky” Launch the plugin, telling him to delete the last four charcaters, then it renders : “Blue”

All this because I don’t wanna (couldn’t) use PHP in my templates.

Thanxxx, S.

       
lincolnpixel's avatar
lincolnpixel
76 posts
17 years ago
lincolnpixel's avatar lincolnpixel

What about TruncHTML

       
Mark Bowen's avatar
Mark Bowen
12,637 posts
17 years ago
Mark Bowen's avatar Mark Bowen

Actually I think this post will now deal with what you need 😉

TruncHTML is great but I think what Sylvain needs is something to delete from the end of a string and not the start. TruncHTML is still a great plugin though.

Best wishes,

Mark

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
17 years ago
Ingmar Greil's avatar Ingmar Greil

I think the right solution, as pointed out by Mark, is phpStringfun.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.