Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
Disabled
×
Change Orientation
Please note, this is a STATIC archive of website www.w3schools.com from 05 May 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.
"; // String echo sprintf("[%8s]",$str1)."
"; // Right-justifies the string with spaces echo sprintf("[%-8s]",$str1)."
"; // Left-justifies the string with spaces echo sprintf("[%08s]",$str1)."
"; // Zero-padding echo sprintf("[%'*8s]",$str1)."
"; // Adds "*" echo sprintf("[%8.8s]",$str2)."
"; // Left-justifies the string with spaces (cuts off characters after the specified value) ?>
×
Report a Problem:
Your E-mail:
Page address:
Description:
Disabled