Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Unusual unintended space insertion

Status
Not open for further replies.

MrAl

Well-Known Member
Most Helpful Member
Hello there,

In another thread i had typed out the number:
1.233700550136169827354311374984518891914212425905098828301668672

and found that after the post is saved here it shows up with a space between the
905 and the 0988 about 16 characters in from the end. So instead of that part:
...9050988...
it shows up as:
..905 0988...

Any reason why this should happen? It is typed as a single number with no spaces but shows
up with that one space in there.

LATER:
I just checked and this post did it too at least with the large long number. But with the two smaller numbers
it showed up as i intended it to show up, with no space in the first number and a space in the second number
(that second space was intentional however just to show what happened to the large long number).

Here is a test of a longer number (1024 digits):
1.233700550136169827354311374984518891914212425905098828301668672027505602802400655375221675464819028978003239221752893009721543515253755840951327209748149707623799982025821953821438255154105041097608669096167770617458321439880567341907722426727532282572711676564449006038727359158754134533333888044868858938012540723567074409544719104740335414843135800568294265628371716195869791778482268750795653386934061357469509083658094097375660667056525833726033019871096382165986161468362693188758656804057129556207021567241075950751018246573653654051780005536997670226801713347222274342457287896357079098696344175998964315394865796514307978533054106600474106293511904237437996071826185668251127217866525724879489669727558219755241460852875274518362408802576787120433250724980043955267067881248066715217069655057959606109532689037378382492251287430860772714532622516359566254632519796149834535750634992058540333716446045896944871399844121912049364539442431149435484633590141348733321948873317045703845453860076437604421739782637722611

LATER:
Ok here we can see that it is inserting a space after the fiftieth (50th) character for some reason. If i stretch out the horizontal of the window i view in i can see that it inserts a space after EVERY 50th character unless it runs out of space and then it instead uses a carriage return line feed.
 
Last edited:
But what about the apha characters?

qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjkklzxcvbnmqwertyuiopasdfghjklzxcvbnmpoiuytrewqlkjhgfdsamnbvcxzpoiuytrewqlkjhgfdsamnbvcxzzmxncbvlaksjdfhgpqwoeirutyqwertyuiopasdfghjklzxcvbnmpoiuytrewqlkjhgfdsazxcvbnm

did I just type all that nonsense?

I guess I must have done!

JimB
 
Looks like they are treated the same.

There is also a typo in my preceding post!

JimB
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top