Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:filter-texts [06.12.2014 15:04] – [Check If Something was Entered] alexander.ritteren:create:filter-texts [06.12.2014 15:08] – [Compare Text] alexander.ritter
Line 26: Line 26:
 ===== Check Minimum Length of Text ===== ===== Check Minimum Length of Text =====
  
-''strlen()'' is another useful function. It returns the number of characters (length) in a string (text). If we know that any meaningful data must be made up of at least 4 charactersthen the length of the string can also be checked. ''trim()'' is used here again so that any blank spaces do not implicate any wrong decisions+''strlen()'' is another useful function. It returns the number of characters (length) in a string (text). If we know that any meaningful data must be made up of at least 4 characters then the length of the string can also be checked. ''trim()'' is used here again so that any blank spaces do not cause any wrong decision-making
  
 <code php> <code php>
Line 57: Line 57:
 </code> </code>
  
-If there should not be any fuss between upper and lower case, writing ''strtolower()'' in lower case before comparison converts the participant's input.+If there should not be any fussiness between upper and lower case, writing ''strtolower()'' in lower case before comparison converts the participant's input.
  
 <code php> <code php>
en/create/filter-texts.txt · Last modified: 15.01.2015 20:23 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki