Home
My Faqts
Contributors
About
Help
News: Faqts.com
search
is now functional again. Thank you for your patience.
faqts
:
Computers
:
Programming
:
Languages
:
PHP
:
Common Problems
: Strings
+ Search
Enter your search terms
Submit search form
Web
faqts.com
Folders
There are no folders in this category
Share Your Knowledge
Ask a Question
Questions
Recently Asked Questions
Is it possible to call n object method in a heredoc syntax string?
I want "include" to return a string instead of writing directly into the page.
How can I find all chars NOT WITHIN any tag please?
How can I search $a for ##rand## and replace every occurence of ##rand## in $a with $b?
How do I include the value of a variable or array element in a string?
Random Questions
Is there a function that ignores white space in a string?
Is there an opposite function of nl2br? Would like to convert <BR> tags to new lines
How do I compare two variables that have been assigned text strings to make sure they match?
How do you insert a word-wrap of 80char into a string?
How can I search for the first binary character in a string?
How can I strip certain HTML tags from a string?
How do I compare two variables that have been assigned text strings to make sure they match?
How can I print a dollar sign in a string?
How can I format currency properly in PHP?
How can I strip items similar to [some text here] from a string?
Escape sequences like \n and \t are not working. What actually is the purpose of escape sequences?
How do I include a quotation mark in a string, and then email that string to myself?
How can I strip binary characters out of a string?
How can I decode the windows - 1252 charset from a string? There is the convert_cyr_string function, but only accepts windows 1251 charset. ideas?
How do I concatenate string1 with a trailing space and string2 with a leading space into String3 so that the 2 spaces in between are maintained.
How can I turn a string into an array?
How can I search for the first binary character in a string?
How do I replace all sequences of multiple spaces in a string with a single space? str_replace gives error when I try replace any 2 chars w/ 1 char
How do you insert a word-wrap of 80char into a string?
How can I convert a numeric variable to a string, and viceversa (i.e. 10 to "10")?
How to remove the n last characters out of a string ?
How do I replace : with chr(0) using eregi_replace?
how can i turn values stored in a array into one string
Is there a function that ignores white space in a string?
Is there an opposite function of nl2br? Would like to convert <BR> tags to new lines
How do I split() a string at unquoted whitespace?
How to pass a string that contain character "&" between words that display on the url
How do I include the value of a variable or array element in a string?
How can I search $a for ##rand## and replace every occurence of ##rand## in $a with $b?
How can I find all chars NOT WITHIN any tag please?
I want "include" to return a string instead of writing directly into the page.
Is it possible to call n object method in a heredoc syntax string?
Unanswered Questions
I append different strings -including spaces-, but when I use the final string for mail() it appears cuted in the first space at received e-mail.
Why don't str_replace & ereg_replace handle this (chr(0),":",$recipient) the same way?
What happenes to my line feeds and carriage controls when reading in a memo field from MS Access???
How can I deal with ; , " ' etc in a string so it won't disrupt a SQL query?
How to control carriage return and line feeds in large text fields
I wanted to know if there are funs. in php that would let me manipulate/convert binary strings?
How can I let users type the € sign in an input box, in combination with htmlspecialchars?
Trying to pass string from textbox to PHP for use as query string. Can anyone help. Thanks
could someone give me the code for removing HTML comments in the $text ie all between <!-- and -->
how do i get a line break in my string ?? It just keeps on going.
How do i get a line break at the end off the row ?? crank-it-up.net/abbe/abbe_v4/shoutbox/post.html
How do i get a line break at the end off the row ?? crank-it-up.net/abbe/abbe_v4/shoutbox/post.html
Why is substr acting weird?
Why is substr grabbing more of the string than I am asking for?
How can I replace the percent sign (%) with it's respective Alt-code. Str_replace doesn't work.
How can I replace the percent sign (%) with it's respective Alt-code. Str_replace doesn't work.
I want to "include" to return a string instead of writing directly into the page.
i have a problem below code : [PHP] <?php $text=' <html dir="rtl"> <head> <meta http-equiv
Why string.replace doesn't work?
How can I remove PHP code with the strip_tags-function?
How can I remove PHP code with the strip_tags-function?
I am getting a ^M on line endings. Is there a way to search for them and remove them
I am getting a ^M on line endings. Is there a way to search for them and remove them
I am getting a ^M on line endings. Is there a way to search for them and remove them
a strange question about strings compare!!!!!
How do I include a literal semicolon (;) in the value of a string variable?
What is the PHP equivelent to Perl's "return <<ENDOFTEXT;"
What is the PHP equivelent to Perl's "return <<ENDOFTEXT;"