- #1
- 12,902
- 7,563
Code:
s u b s t r($a,0,1)
s u b s t r($a,0,1)
subtr($a,0,1)
substr($a,0,1)
When I attempt to preview this I get:Greg Bernhardt said:Code:subtr($a,0,1)
works ok for me
XHR POST https://www.physicsforums.com/threads/substr-in-code-section-bug-out-possibly-my-own-browser.1016515/reply-preview
[HTTP/2 403 Forbidden 45ms]
Please enable cookies.
Sorry, you have been blocked
You are unable to access physicsforums.com
Why have I been blocked?
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.
What can I do to resolve this?
You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.
Cloudflare Ray ID: 723865b31e5d713f • Your IP:
[my IP adress redacted] • Performance & security by Cloudflare
Uncaught ReferenceError: MathJax is not defined
parsePreview https://www.physicsforums.com/threa...possibly-my-own-browser.1016515/#post-6647241 line 1 > injectedScript:11
<anonymous> https://www.physicsforums.com/threa...possibly-my-own-browser.1016515/#post-6647241 line 2 > injectedScript:2
jQuery 2
h https://www.physicsforums.com/js/xf/core-compiled.js?_v=11663546:4
setupHtmlInsert https://www.physicsforums.com/js/xf/core-compiled.js?_v=11663546:4
c https://www.physicsforums.com/js/xf/core-compiled.js?_v=11663546:5
setupHtmlInsert https://www.physicsforums.com/js/xf/core-compiled.js?_v=11663546:4
g https://www.physicsforums.com/js/xf/editor-compiled.js?_v=11663546:52
m https://www.physicsforums.com/js/xf/core-compiled.js?_v=11663546:2
jQuery 4
substr-in-code-section-bug-out-possibly-my-own-browser.1016515:11:3
substr
no way, this is all good to know and fix!jbriggs444 said:And apologies for ruining your day.
A "Substr in [code] section bug out" refers to a bug or error that occurs in the code section of a program or website. It is often caused by a problem with the substring function, which is used to extract a portion of a string in programming.
If you are experiencing a "Substr in [code] section bug out," you may notice unexpected behavior in the program or website. This could include incorrect or missing information, buttons or links not working, or the program crashing.
A "Substr in [code] section bug out" can be caused by a variety of factors, including incorrect syntax in the code, incompatible code from different sources, or a mistake in the substring function itself. It can also be caused by browser compatibility issues or outdated software.
The first step in fixing a "Substr in [code] section bug out" is to identify the root cause. This may require reviewing the code, checking for updates or compatibility issues, or seeking help from a developer or technical support. Once the cause is identified, it can be addressed through debugging, updating the code, or making necessary changes to the program or website.
To prevent a "Substr in [code] section bug out," it is important to test and review code thoroughly before implementing it. Regularly updating software and checking for compatibility issues can also help prevent these types of bugs. Additionally, having a backup plan in case of errors or bugs can help minimize the impact of a "Substr in [code] section bug out."