Interviewer And Interviewee Guide

PHP Interview Question:

I am writing an application in PHP that outputs a printable version of driving directions. It contains some long sentences, and I am a neat freak, and would like to make sure that no line exceeds 50 characters. How do I accomplish that with PHP?

Submitted by: Administrator
On large strings that need to be formatted according to some length specifications, use wordwrap() or chunk_split().
Submitted by: Administrator

Read Online PHP Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.