User Tools

Site Tools


uphp:functions:implode

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:implode [2017/04/06 12:05]
jeff
uphp:functions:implode [2021/09/13 05:57] (current)
Line 3: Line 3:
 <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
-Turn an <html><b><span style="color:green">array<span style="color:black"></b></html> into a <html><b><span style="color:green">string<span style="color:black"></b></html>+<html>Turn an <b><span style="color:green">array<span style="color:black"></b> into a <b><span style="color:green">string<span style="color:black"></b></html>
  
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">string <span style="font-size:125%;color:green">string
-<span style="color:black"> +<span style="color:black">implode (
-</html> +
-[[implode]] ( +
-<html>+
 <span style="color:green">array <span style="color:green">array
 <span style="color:blue">$array<span style="color:black">, <span style="color:blue">$array<span style="color:black">,
Line 19: Line 15:
 <span style="color:blue">$delimiter <span style="color:blue">$delimiter
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
-Turn an <html><b><span style="color:green">array<span style="color:black"></b></html> into a <html><b><span style="color:green">string<span style="color:black"></b></html> with the delimiter separating each element+<html>Turn an <b><span style="color:green">array<span style="color:black"></b> into a <b><span style="color:green">string<span style="color:black"></b> with the delimiter separating each element</html>
  
 ====Parameters==== ====Parameters====
  
-<html><b><span style="color:blue">$array<span style="color:black"></b></html>:  <html><b><span style="color:green">Array<span style="color:black"></b></html> to be turned into a <html><b><span style="color:green">string<span style="color:black"></b></html>+<html><b><span style="color:blue">$array<span style="color:black"></b>:  <b><span style="color:green">Array<span style="color:black"></b> to be turned into a <b><span style="color:green">string<span style="color:black"></b></html>
  
-<html><b><span style="color:blue">$delimiter<span style="color:black"></b></html>:  Character to use for separating each array element put into the <html><b><span style="color:green">string<span style="color:black"></b></html>+<html><b><span style="color:blue">$delimiter<span style="color:black"></b>:  Character to use for separating each array element put into the <b><span style="color:green">string<span style="color:black"></b></html>
  
-====Return Value====+====Notes====
  
-<html><b><span style="color:green">String<span style="color:black"></b></html> containing concatenated elements+For float values and indexed float arrays, values are rounded to 3 decimal places. 
 + 
 +====Return Values==== 
 + 
 +<html><b><span style="color:green">String<span style="color:black"></b> containing concatenated elements</html>
  
 ====Example==== ====Example====
Line 51: Line 50:
 ====See Also==== ====See Also====
  
-[[explode()]] - Turn a <html><b><span style="color:green">string<span style="color:black"></b></html> into an <html><b><span style="color:green">array<span style="color:black"></b></html>+[[explode()]] - <html>Turn a <b><span style="color:green">string<span style="color:black"></b> into an <b><span style="color:green">array<span style="color:black"></b></html>
  
-[[array()]] - Create an <html><b><span style="color:green">array<span style="color:black"></b></html>, with optional values+[[array()]] - <html>Create an <b><span style="color:green">array<span style="color:black"></b>, with optional values</html>
  
 [[uphp:variables|uPHP Variable Types and Limits]] [[uphp:variables|uPHP Variable Types and Limits]]
uphp/functions/implode.1491480333.txt.gz · Last modified: 2021/09/13 05:56 (external edit)