Skip to main content

Questions tagged [string]

0 votes
2 answers
53 views

I have several numbers like the ones shown below that should have a decimal before the last 2 digits. Is there a regular expression that can add a decimal before the last 2 digits? 373648 836374 ...
Mark's user avatar
  • 1
0 votes
1 answer
51 views

{exp:query sql="SELECT states FROM states"} {if count == total_results} and {states} {if:else} {states},<span> </span> {/if} {/exp:query} Result: ...
user10805's user avatar
0 votes
1 answer
103 views

I'm using an if statement in a layout to check if a layout variable contains any content. {if layout:sidebar} <div class="sidebar"> {layout:sidebar} </div> {/if} This works well ...
Divey's user avatar
  • 101
0 votes
2 answers
313 views

There used to be all kinds of plugins for EE 2 that let you shorten a variable (or any string, really), some from EllisLab as well as a number of third-party ones. Some let you specify the number of ...
Ingmar's user avatar
  • 506
0 votes
1 answer
111 views

How to get a particular part of a string? e.g after some special characters or some words.
bunny's user avatar
  • 11
0 votes
1 answer
272 views

I have a form (freeform) in my EE site working just fine. My client ask me for a connection string because he wants to get the information fill up in the form directly in his own system database. I'...
worfoual's user avatar
  • 289
1 vote
1 answer
144 views

I want to find if a string contains a word ot not? It is a pretty simple thing if i want to do it in php.But When it comes to EE you need some plugins to do the job of strpos. I have two plugins ...
user avatar
0 votes
2 answers
125 views

I've upgraded a site from EE1 to EE2 and a few of the add-ons don't seem to be working inside the templates. They are working fine inside the Admin area and all the content is showing up in the ...
Jason Mayo's user avatar