Solved

how to insert new line every certain lenght

Posted on 2009-05-13
1
201 Views
Last Modified: 2012-05-06
$str="p4A2oD0+MGqos7VcDD0NPddXi+iZ3G2WVn5s1Ms1Tder/9RWhLKRdju+zCpt19uklrCUmh2CRFSJ2B0wpt1yG+6bQdu/V5Y61nOTdhl9TIVv4//vYff/uK";

how to make output:

$out="
p4A2oD0+MGqos7VcDD0NPddXi+iZ3G2WVn5s1M
s1Tder/9RWhLKRdju+zCpt19uklrCUmh2CRFSJ2B0
wpt1yG+6bQdu/V5Y61nOTdhl9TIVv4//vYff/uK";
0
Comment
Question by:abangbatax
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

by:
alien109 earned 30 total points
ID: 24380112
0

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question