Split a Text node in two. @param offset the character position at which to split the Text node @return the Text node that was split from this node
(final int offset)
| 49 | * @return the Text node that was split from this node |
| 50 | */ |
| 51 | @JsxFunction |
| 52 | public HtmlUnitScriptable splitText(final int offset) { |
| 53 | final DomText domText = (DomText) getDomNodeOrDie(); |
| 54 | return getScriptableFor(domText.splitText(offset)); |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | * Returns wholeText value. |
nothing calls this directly
no test coverage detected